Sha256: 6f98d7652662d2aa54b58e6564ba34ab8d43f98ab86f4ec7474f37936e9dee00

Contents?: true

Size: 307 Bytes

Versions: 3

Compression:

Stored size: 307 Bytes

Contents

require 'spec_helper'

describe Itiel::Nameable do
  before :each do
    step_class = Class.new do
      include Itiel::Nameable
    end

    @step = step_class.new
  end

  it "responds to name= and name" do
    expect(@step).to respond_to :step_name
    expect(@step).to respond_to :step_name=
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
itiel-0.1.2 spec/nameable_spec.rb
itiel-0.1.1 spec/nameable_spec.rb
itiel-0.1.0 spec/nameable_spec.rb