Just for records. Line #47 -
http://code.google.com/p/kopal/source/browse/test/network/connect_controller_test.rb?r=876e7c80c420e5faca9492bd50ed1dd943cb90ac

On Mar 18, 3:08 pm, Vikrant Chaudhary <nas...@gmail.com> wrote:
> In following code -
>
> require "test_helper"
> Class SomeControllerTest < ActionController::TestCase
>
>   def test_something
>     record = SomeModel.create :name => 'test'
>     record.save!
>     gets
>   end
>
> end
>
> Above record is not being saved in the database. I can confirm this by
> pausing execution by calling gets() and doing a "SELECT * FROM
> some_models" right into the test database which returns no rows.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to