On Thu, Mar 18, 2010 at 6:08 AM, Vikrant Chaudhary 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 no
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 call
2 matches
Mail list logo