diff options
| author | cedricnjanga | 2018-04-24 11:20:48 -0700 |
|---|---|---|
| committer | cedricnjanga | 2018-04-24 11:20:48 -0700 |
| commit | 7851a5e2b998b6ec460af169ac79558009849e5f (patch) | |
| tree | 4aecb321695874d1c77c9e7907edf6ae0115d53d /spec | |
| parent | 4b50909a52c6a41ce28bef24c889a7b7f4913421 (diff) | |
| download | chouette-core-7851a5e2b998b6ec460af169ac79558009849e5f.tar.bz2 | |
Refs #6445 Update specs according to new validations
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/models/referential_metadata_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/referential_metadata_spec.rb b/spec/models/referential_metadata_spec.rb index 88a12b2bb..210f95e14 100644 --- a/spec/models/referential_metadata_spec.rb +++ b/spec/models/referential_metadata_spec.rb @@ -100,7 +100,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_not be_valid + expect(period(begin: "2016-11-21", end: "2016-11-21")).to be_valid expect(period(begin: "2016-11-22", end: "2016-11-21")).to_not be_valid end |
