Sha256: 28094932dd38972fa23bca7e9d2f57143a3776b53e70197484d00bd08f8a1038

Contents?: true

Size: 387 Bytes

Versions: 3

Compression:

Stored size: 387 Bytes

Contents

require 'spec_helper'

describe MassiveRecord::ORM::Persistence::Operations::Suppress do
  include MockMassiveRecordConnection

  let(:record) { TestClass.new("id-1") }
  let(:options) { {:this => 'hash', :has => 'options'} }
  
  subject { described_class.new(record, options) }


  describe "#execute" do
    it "returns true" do
      subject.execute.should be_true
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
massive_record-0.2.2 spec/orm/persistence/operations/suppress_spec.rb
massive_record-0.2.2.rc2 spec/orm/persistence/operations/suppress_spec.rb
massive_record-0.2.2.rc1 spec/orm/persistence/operations/suppress_spec.rb