Sha256: faa707c21643cd55b339edc1b1d2aca2ec699becb42375d4bd52e4365e1576ec

Contents?: true

Size: 263 Bytes

Versions: 83

Compression:

Stored size: 263 Bytes

Contents

require 'spec_helper'

describe Tenon::TenonCallout do
  describe '.published' do
    it 'should find callouts that are published' do
      expect(Tenon::TenonCallout).to receive(:where).with(published: true)
      Tenon::TenonCallout.published
    end
  end
end

Version data entries

83 entries across 83 versions & 1 rubygems

Version Path
tenon-1.1.8 spec/models/tenon/tenon_callout_spec.rb
tenon-1.1.7 spec/models/tenon/tenon_callout_spec.rb
tenon-1.1.6 spec/models/tenon/tenon_callout_spec.rb
tenon-1.1.5 spec/models/tenon/tenon_callout_spec.rb
tenon-1.1.4 spec/models/tenon/tenon_callout_spec.rb
tenon-1.1.3 spec/models/tenon/tenon_callout_spec.rb
tenon-1.1.2 spec/models/tenon/tenon_callout_spec.rb
tenon-1.1.1 spec/models/tenon/tenon_callout_spec.rb
tenon-1.0.76 spec/models/tenon/tenon_callout_spec.rb
tenon-1.0.75 spec/models/tenon/tenon_callout_spec.rb
tenon-1.0.74 spec/models/tenon/tenon_callout_spec.rb
tenon-1.0.73 spec/models/tenon/tenon_callout_spec.rb
tenon-1.0.72 spec/models/tenon/tenon_callout_spec.rb
tenon-1.0.71 spec/models/tenon/tenon_callout_spec.rb
tenon-1.0.70 spec/models/tenon/tenon_callout_spec.rb
tenon-1.0.69 spec/models/tenon/tenon_callout_spec.rb
tenon-1.0.68 spec/models/tenon/tenon_callout_spec.rb
tenon-1.0.67 spec/models/tenon/tenon_callout_spec.rb
tenon-1.0.66 spec/models/tenon/tenon_callout_spec.rb
tenon-1.0.65 spec/models/tenon/tenon_callout_spec.rb