Sha256: 8303079445697447e0c6d0e0c07a276e291ab35fdf7b829497481b5cc63b692a

Contents?: true

Size: 329 Bytes

Versions: 5

Compression:

Stored size: 329 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 :hidden }
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rubiks-0.1.8 spec/support/shared_examples.rb
rubiks-0.1.7 spec/support/shared_examples.rb
rubiks-0.1.6 spec/support/shared_examples.rb
rubiks-0.1.5 spec/support/shared_examples.rb
rubiks-0.1.4 spec/support/shared_examples.rb