spec/concerned_spec.rb in concerned-0.1.5 vs spec/concerned_spec.rb in concerned-0.1.6
- old
+ new
@@ -61,10 +61,10 @@
end
end
describe "Concerned" do
describe "#concerned_with" do
- it 'should require files from #{name.underscore}/#{concern}' do
+ it 'should require files from #{name.to_s.underscore}/#{concern}' do
[:scopes, :validations].each do |concern|
FixtureUser.new.should respond_to("method_from_#{concern}_concern")
end
FixtureUser.my_concerns.should include(:validations)