On 11/14/07, Karni Karni <[EMAIL PROTECTED]> wrote:
> Karni Karni wrote:
> > aslak hellesoy wrote:
> >
> > Could u pls give any URL form u written this code?
>
> Thanks for ur reply. But in my case the total code is in the controller.
It shouldn't be. Put business logic in the model.
http://weblo
Karni Karni wrote:
> aslak hellesoy wrote:
>
> Could u pls give any URL form u written this code?
Thanks for ur reply. But in my case the total code is in the controller.
I' submitting the from to a specific action with CSV file.
Hoew can I pass my CSV file to that specific action
--
Posted vi
aslak hellesoy wrote:
Could u pls give any URL form u written this code?
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
look at the RDoc for should change...
describe Task do
fixtures :tasks # should put 2 tasks in the database
it "should not import twice from CSV" do
csv = File.dirname(__FILE__) + '/sample.csv' # It should have 4 new tasks
lambda do
Task.import_from_csv(csv)
end.should chang
aslak hellesoy wrote:
> On Nov 12, 2007 11:36 AM, KarniRevuri <[EMAIL PROTECTED]> wrote:
>> typical windows file open controls."
>>
>>
>> Please give me any ideas
>>
>
> Is this related to the post that you replied to?
> Your question is too vague. Can you be more specific about what you
> need he
On Nov 12, 2007 11:36 AM, KarniRevuri <[EMAIL PROTECTED]> wrote:
>
> I want to write below specs
>
> specify "The system allows users to import a pre-formatted CSV file into
> project."
> specify "Each row in the spreadsheet is imported as one new Task."
> specify "The import WILL NOT update ex
I want to write below specs
specify "The system allows users to import a pre-formatted CSV file into
project."
specify "Each row in the spreadsheet is imported as one new Task."
specify "The import WILL NOT update existing tasks."
specify "If the import file has any records that fail due t
> > Can you show some of your code that needs to be tested?
>
> Actually, we'd hope that the code doesn't exist yet. This is Behaviour
> DRIVEN Development, after all.
>
Old habits, my apologies.
___
rspec-users mailing list
rspec-users@rubyforge.org
ht
On Nov 6, 2007 6:51 AM, Jim Lindley <[EMAIL PROTECTED]> wrote:
> >
> > I need to write the testcase for fileimport.
> >
>
> Can you show some of your code that needs to be tested?
Actually, we'd hope that the code doesn't exist yet. This is Behaviour
DRIVEN Development, after all.
Can you tell us
>
> I need to write the testcase for fileimport.
>
Can you show some of your code that needs to be tested?
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
Hi Friends,
I need to write the testcase for fileimport.
Pls give me any idea
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
11 matches
Mail list logo