diff options
Diffstat (limited to 'spec/models/api')
| -rw-r--r-- | spec/models/api/v1/api_key_spec.rb | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/spec/models/api/v1/api_key_spec.rb b/spec/models/api/v1/api_key_spec.rb index 02c68ea13..3da11527c 100644 --- a/spec/models/api/v1/api_key_spec.rb +++ b/spec/models/api/v1/api_key_spec.rb @@ -1,12 +1,12 @@  require 'spec_helper' -describe Api::V1::ApiKey do +describe Api::V1::ApiKey, :type => :model do    let!(:referential){Factory(:referential)}    subject { Api::V1::ApiKey.create( :name => "test", :referential => referential)}    it "test" do -    subject.should be_valid -    subject.referential.should == referential +    expect(subject).to be_valid +    expect(subject.referential).to eq(referential)    end  end | 
