Sha256: 1deb52b99b371512437c8e2394e19500a0ae1e39d31ed469e8066cb79ea92807

Contents?: true

Size: 202 Bytes

Versions: 6

Compression:

Stored size: 202 Bytes

Contents

require 'spec_helper'

describe Spree::PromotionAction, :type => :model do

  it "should force developer to implement 'perform' method" do
    expect { MyAction.new.perform }.to raise_error
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
spree_core-3.0.10 spec/models/spree/promotion_action_spec.rb
spree_core-3.0.9 spec/models/spree/promotion_action_spec.rb
spree_core-3.0.8 spec/models/spree/promotion_action_spec.rb
spree_core-3.0.7 spec/models/spree/promotion_action_spec.rb
spree_core-3.0.6.1 spec/models/spree/promotion_action_spec.rb
spree_core-3.0.6 spec/models/spree/promotion_action_spec.rb