Sha256: 4e70555eb7b31af971eb31a2d09643ec3b92362fc7cce0fabdbead07e33c8cbe

Contents?: true

Size: 353 Bytes

Versions: 2

Compression:

Stored size: 353 Bytes

Contents

require 'spec_helper'

describe Bogus::RSpecSyntax do
  context = self
  let(:syntax) { Bogus::RSpecSyntax.new(context) }

  it "gets the described class" do
    expect(syntax.described_class).to eq(Bogus::RSpecSyntax)
  end

  it "can set the described class" do
    syntax.described_class = Object

    expect(described_class).to eq(Object)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bogus-0.1.7 spec/bogus/rspec/syntax_spec.rb
bogus-0.1.6 spec/bogus/rspec/syntax_spec.rb