Sha256: d3d90165d6f8b1441fcbb4c0decd260b7658edf89b636badb18ad190f6d5a3dd

Contents?: true

Size: 468 Bytes

Versions: 4

Compression:

Stored size: 468 Bytes

Contents

require "test_helper"

class ScenarioTest < Test::Unit::TestCase
  context "A Scenario" do
    setup do
      @scenario = Scenario.new("foobar", Feature("something_or_other")) {}
    end

    context "when instantiated" do 
      context "with only a String" do
        setup do 
          @scenario = Scenario.new("foobar", Feature("another")) 
        end

        should "be pending" do
          assert(@scenario.pending?)
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
coulda-0.6.3 test/scenario_test.rb
coulda-0.6.1 test/scenario_test.rb
coulda-0.6.0 test/scenario_test.rb
coulda-0.5.5 test/scenario_test.rb