Skip to content

Commit

Permalink
adding coverage to VersionedResource
Browse files Browse the repository at this point in the history
  • Loading branch information
bwillis committed Mar 9, 2015
1 parent cc9a7d8 commit 09838f8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions spec/unit/versioned_resource_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@

describe VersionCake::VersionedResource do

let(:resource) { described_class.new('hello/123', [1,2], [3], [4,5,6])}

describe '#latest_version' do
xit {}
end
subject { resource.latest_version }

it { is_expected.to eq 6 }
end
end

0 comments on commit 09838f8

Please sign in to comment.