Sha256: b9c2bd0f7b8a6e921bad1d3b17ce625eaf02322f9d81711c6fae42be8c5bf4f6

Contents?: true

Size: 330 Bytes

Versions: 4

Compression:

Stored size: 330 Bytes

Contents

shared_examples 'a named object' do
  subject { described_class.new }

  it { should respond_to :json_hash }
  it { should respond_to :to_json }
  it { should respond_to :to_xml }

  it { should respond_to :name }
  it { should respond_to :caption }
  it { should respond_to :description }
  it { should respond_to :visible }
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rubiks-0.1.3 spec/support/shared_examples.rb
rubiks-0.1.2 spec/support/shared_examples.rb
rubiks-0.1.1 spec/support/shared_examples.rb
rubiks-0.1.0 spec/support/shared_examples.rb