diff options
| author | Zakaria BOUZIANE | 2015-02-17 18:01:48 +0100 |
|---|---|---|
| committer | Zakaria BOUZIANE | 2015-02-17 18:01:48 +0100 |
| commit | ad74d12ada2bbe2fe961424a3ce529f28cc157da (patch) | |
| tree | 49371deb59941be5582b1c4311791fcfc940d531 /spec/models/api | |
| parent | 22a0f867d596ff869735eac3f5c5b1028109e813 (diff) | |
| download | chouette-core-ad74d12ada2bbe2fe961424a3ce529f28cc157da.tar.bz2 | |
Upgrading FactoryGirl to V4.5.0
Diffstat (limited to 'spec/models/api')
| -rw-r--r-- | spec/models/api/v1/api_key_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/api/v1/api_key_spec.rb b/spec/models/api/v1/api_key_spec.rb index 3da11527c..eb8826c0e 100644 --- a/spec/models/api/v1/api_key_spec.rb +++ b/spec/models/api/v1/api_key_spec.rb @@ -1,7 +1,7 @@ require 'spec_helper' describe Api::V1::ApiKey, :type => :model do - let!(:referential){Factory(:referential)} + let!(:referential){create(:referential)} subject { Api::V1::ApiKey.create( :name => "test", :referential => referential)} it "test" do |
