Sha256: 8f0f07323e31b4d9b63fe46779138f7c575b89108388c115fee462bcd0b1a7d8

Contents?: true

Size: 253 Bytes

Versions: 36

Compression:

Stored size: 253 Bytes

Contents

require 'spec_helper'

describe Reviewed::Website do

  describe 'all', vcr: true do

    it 'calls "where" with correct arguements' do
      Reviewed::Website.should_receive(:where).with({per_page: 'all'})
      Reviewed::Website.all
    end
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
reviewed-1.2.4 spec/website_spec.rb
reviewed-1.2.3 spec/website_spec.rb
reviewed-1.3.0 spec/website_spec.rb
reviewed-1.2.2 spec/website_spec.rb
reviewed-1.2.0 spec/website_spec.rb
reviewed-1.1.0 spec/website_spec.rb
reviewed-1.0.4 spec/website_spec.rb
reviewed-1.0.3 spec/website_spec.rb
reviewed-1.0.2 spec/website_spec.rb
reviewed-1.0.1 spec/website_spec.rb
reviewed-1.0.0 spec/website_spec.rb
reviewed-0.9.1 spec/website_spec.rb
reviewed-0.9.0 spec/website_spec.rb
reviewed-0.8.0 spec/website_spec.rb
reviewed-0.7.1 spec/website_spec.rb
reviewed-0.7 spec/website_spec.rb
reviewed-0.6.4 spec/website_spec.rb
reviewed-0.6.3 spec/website_spec.rb
reviewed-0.6.2 spec/website_spec.rb
reviewed-0.6.1 spec/website_spec.rb