aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorRobert2017-06-29 11:20:39 +0200
committerRobert2017-06-29 11:20:39 +0200
commit4305f4ea9563a25ce29a55e7077cb86bed2bf325 (patch)
treea60264618920ba105a3690773d4141d9cf6fab65 /spec
parentbed9795be0bb85d7c8c311fe4ee0fb12e46832b4 (diff)
parentb45ed915dc41b5d0e286bfc2517fb776eec4dc80 (diff)
downloadchouette-core-4305f4ea9563a25ce29a55e7077cb86bed2bf325.tar.bz2
Merge branch 'master' into staging
Diffstat (limited to 'spec')
-rw-r--r--spec/models/referential_metadata_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/referential_metadata_spec.rb b/spec/models/referential_metadata_spec.rb
index 0f628c8d1..91a2a7fc2 100644
--- a/spec/models/referential_metadata_spec.rb
+++ b/spec/models/referential_metadata_spec.rb
@@ -87,7 +87,7 @@ RSpec.describe ReferentialMetadata, :type => :model do
it "should validate that end is greather than or equlals to begin" do
expect(period(begin: "2016-11-21", end: "2016-11-22")).to be_valid
- expect(period(begin: "2016-11-21", end: "2016-11-21")).to be_valid
+ expect(period(begin: "2016-11-21", end: "2016-11-21")).to_not be_valid
expect(period(begin: "2016-11-22", end: "2016-11-21")).to_not be_valid
end