Sha256: 939d335c030b95633aeb5d607152f213e5f21428b9bc95340a10f911fa76980a

Contents?: true

Size: 320 Bytes

Versions: 5

Compression:

Stored size: 320 Bytes

Contents

require 'support/full_name_renderer_examples'

RSpec.describe "using shared examples" do
  include_context "user_context"
  rabl_template { "user.rabl" }
  rabl_data(:root => 'user'){ user }

  include_examples "full name renderer"
  it_behaves_like "full name renderer"
  it_should_behave_like "full name renderer"
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rspec-rabl-2.1.0 spec/functional/shared_examples_spec.rb
rspec-rabl-2.0.0 spec/functional/shared_examples_spec.rb
rspec-rabl-1.1.1 spec/functional/shared_examples_spec.rb
rspec-rabl-1.1.0 spec/functional/shared_examples_spec.rb
rspec-rabl-1.0.0 spec/functional/shared_examples_spec.rb