Sha256: 85ba6d53d2b38b1f61bf3e98548b89253c5ed980ce0ef836affc09c2ee663722

Contents?: true

Size: 668 Bytes

Versions: 6

Compression:

Stored size: 668 Bytes

Contents

require 'spec_helper.rb'

describe "Spec counting task" do

  let(:jasmine_dev) { JasmineDev.new }

  before do
    @output = capture_output { jasmine_dev.count_specs }
  end

  it "should tell the developer that the specs are being counted" do
    @output.should match(/Counting specs/)
  end

  it "should report the number of specs that will run in node" do
    @output.should match(/\d+ \e\[0mspecs for Node.js/)
  end

  it "should report the number of specs that will run in the browser" do
    @output.should match(/\d+ \e\[0mspecs for Browser/)
  end

  it "should remind the developer to check the count" do
    @output.should match(/Please verify/)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
evergreen-1.3.0 lib/jasmine/spec/tasks/count_specs_spec.rb
evergreen-1.2.0 lib/jasmine/spec/tasks/count_specs_spec.rb
evergreen-1.1.3 lib/jasmine/spec/tasks/count_specs_spec.rb
evergreen-1.1.2 lib/jasmine/spec/tasks/count_specs_spec.rb
evergreen-1.1.0 lib/jasmine/spec/tasks/count_specs_spec.rb
evergreen-1.0.1 lib/jasmine/spec/tasks/count_specs_spec.rb