summaryrefslogtreecommitdiff
path: root/spec/factories_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/factories_spec.rb')
-rw-r--r--spec/factories_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories_spec.rb b/spec/factories_spec.rb
index 66bef0761c7..c8e218d4d03 100644
--- a/spec/factories_spec.rb
+++ b/spec/factories_spec.rb
@@ -9,7 +9,7 @@ FactoryGirl.factories.map(&:name).each do |factory_name|
next if INVALID_FACTORIES.include?(factory_name)
describe "#{factory_name} factory" do
it 'should be valid' do
- build(factory_name).should be_valid
+ expect(build(factory_name)).to be_valid
end
end
end