Displaying 4 results from an estimated 4 matches for "nested_2".
Did you mean:
nested_1
2010 Sep 01
2
Undefined methods: has_selector? and flunk
...2.0.0.beta20. When I''m running my specs (rake spec) I get a large number
of errors caused by two undefined methods
undefined method `has_selector?'' for #<String:0x7fdbd0b5b270>
undefined method `flunk'' for
#<RSpec::Core::ExampleGroup::Nested_15::Nested_1::Nested_2::Nested_2:0x7fdbd0c48fe8>
I''ve seen the upgrade notice for beta20 and now include capybara
explicitly in the test group of my Gemfile. The version of capybara on
my sys...
2010 May 07
2
Rspec beta8: helper methods issues
...d to do...
for example
the following spec
it ''should set monday as first day of the week'' do
helper.ordered_day_names.first.should == ''Lun''
end
raises the error undefined local variable or method `helper'' for
#<Rspec::Core::ExampleGroup::Nested_2::Nested_1:0x2da5d10>
3) testing views where I call helper methods I need to explicitly stub
out the helper methods, even if I include the helper module.
This all happens with rspec beta 8, rails 3.0beta3, and ruby 1.9.2
Regards
Andrea
2010 Aug 11
6
rspec2 not working with shoulda
...gem "cucumber-rails", "= 0.3.2"
gem "capybara"
gem "launchy"
end
I am getting following error message.
Failure/Error: it { should validate_presence_of(:email) }
undefined method `validate_presence_of'' for
#<RSpec::Core::ExampleGroup::Nested_2:0x10a63e3a8 @__memoized={}>
# ./spec/models/user_spec.rb:5
2013 Mar 02
0
Problems getting rspec testing working in OSX?
...pache On a RedHat OS with no package name specified
Failure/Error: should contain_package(''httpd'').with( { ''name'' => ''httpd'' } )
NoMethodError:
undefined method `contain_package'' for #<RSpec::Core::ExampleGroup::Nested_1::Nested_2:0x11038be20>
# ./spec/classes/apache_spec.rb:26
3) apache With a package name specified
Failure/Error: should contain_package(''httpd'').with( { ''name'' => ''apache'' } )
NoMethodError:
undefined method `contain_package''...