Skip to content

Commit

Permalink
simple test
Browse files Browse the repository at this point in the history
  • Loading branch information
mose committed Nov 28, 2015
1 parent 909adab commit 1ffadea
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion spec/lib/puppetdb/response_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

describe Hieracles::Puppetdb::Response do

pending '.new'
describe '.new' do
let(:data) { 'something' }
let(:total_records) { 2 }
let(:response) { Hieracles::Puppetdb::Response.new(data, total_records) }
it { expect(response.data).to eq data }
it { expect(response.total_records).to eq total_records }
end

end

0 comments on commit 1ffadea

Please sign in to comment.