spec/models/photos_spec.rb in flickrmocks-0.8.13 vs spec/models/photos_spec.rb in flickrmocks-0.8.14
- old
+ new
@@ -1,11 +1,10 @@
require 'spec_helper'
-
describe APP::Photos do
let(:api) {APP::Api}
let(:klass) {APP::Photos}
- let(:fixtures){APP::Fixtures.new}
+ let(:fixtures){APP::Fixtures.instance}
let(:photos_fixture) {fixtures.photos}
let(:interesting_photos_fixture){fixtures.interesting_photos}
subject {klass.new photos_fixture}
let(:max_pages){subject.default(:max_entries)/subject.default(:per_page)}