Sha256: 7c3c712705d03af725b7f9df5d114682552f5570d5f3c1dd764182a13b389a0e

Contents?: true

Size: 200 Bytes

Versions: 5

Compression:

Stored size: 200 Bytes

Contents

require 'spec_helper'

describe Scorpion::Attribute do
  it "responds to trait? methods" do
    attr = Scorpion::Attribute.new :name, :contract, :formatted
    expect( attr ).to be_formatted
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
scorpion-ioc-0.4.0 spec/lib/scorpion/attribute_spec.rb
scorpion-ioc-0.3.1 spec/lib/scorpion/attribute_spec.rb
scorpion-ioc-0.3.0 spec/lib/scorpion/attribute_spec.rb
scorpion-ioc-0.2.0 spec/lib/scorpion/attribute_spec.rb
scorpion-ioc-0.1.0 spec/lib/scorpion/attribute_spec.rb