Sha256: 7a992423ef6a54fdced01a283790093194b3d1928988bf8eec10bc71953505d4
Contents?: true
Size: 453 Bytes
Versions: 1
Compression:
Stored size: 453 Bytes
Contents
require 'spec_helper' describe 'tags' do let!(:client) { create_client } let!(:tag) { client.tags.create(name: "assemble") } after(:each) { tag.destroy} it "should get tags" do expect(client.tags.all.map(&:id)).to include(tag.identity) end it "should get a tag" do fetched = client.tags.get(tag.identity) expect(tag.name).to eq("assemble") expect(fetched).to eq(tag) expect(fetched.name).to eq("assemble") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
assemble-0.0.1 | spec/tags_spec.rb |