Displaying 1 result from an estimated 1 matches for "cms_layout".
2012 Nov 17
0
How to get more debug information in test log ?
...> ruby -Itest test/unit/user_test.rb -n
"/should_save_user_with_required_fields/"
>> STARTED
>> Error: test_should_save_user_with_required_fields(UserTest)
NoMethodError: undefined method `respond_to?='' for
#<Cms::Page:0x007fa0435bba68>
test/factories/cms_layout.rb:14:in `block (3 levels) in <top (required)>''
test/factories/cms_site.rb:17:in `block (3 levels) in <top (required)>''
test/unit/user_test.rb:58:in `initialize_user''
I have a nested FactoryGirl records creation ( cms_site > cms_layout >
cms_pa...