File: syntax_spec.rb

package info (click to toggle)
ruby-bogus 0.1.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 844 kB
  • sloc: ruby: 4,237; makefile: 8; sh: 2
file content (16 lines) | stat: -rw-r--r-- 353 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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