Sha256: 84ae97f0193d91076177f09fd3d5b8f31ae993c98c11ca9500e2433d92425a7e

Contents?: true

Size: 231 Bytes

Versions: 6

Compression:

Stored size: 231 Bytes

Contents

describe "named subject" do
  subject(:named_subject) { [1, 2, 3] }

  it "should be the subject" do
    subject.should be_kind_of(Array)
  end

  it "should be the named subject" do
    subject.should eql(named_subject)
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
opal-rspec-cj-0.4.4 spec/named_subject_spec.rb
opal-rspec-0.4.3 spec/named_subject_spec.rb
opal-rspec-0.4.2 spec/named_subject_spec.rb
opal-rspec-0.4.1 spec/named_subject_spec.rb
opal-rspec-0.4.0 spec/named_subject_spec.rb
opal-rspec-0.4.0.beta4 spec/named_subject_spec.rb