Sha256: 75b875bb00241b4b2ed7796e663a985085d30724aecafde500bb0485930cafa9

Contents?: true

Size: 328 Bytes

Versions: 31

Compression:

Stored size: 328 Bytes

Contents

require 'teststrap'

context "A situation" do
  setup do
    Riot::Situation.new
  end

  asserts("the topic is result of calling setup") do
    topic.setup { "foo" }
    topic.topic == "foo"
  end

  asserts("evaluate will return result of evaluation") do
    topic.evaluate { "foo" == "bar" } == false
  end
end # A situation

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
riot-0.12.7 test/core/runnable/situation_test.rb
riot-0.12.6 test/core/runnable/situation_test.rb
riot-0.12.5 test/core/runnable/situation_test.rb
riot-0.12.4 test/core/runnable/situation_test.rb
riot-0.12.3 test/core/runnable/situation_test.rb
riot-0.12.2 test/core/runnable/situation_test.rb
riot-0.12.1 test/core/runnable/situation_test.rb
riot-0.12.0 test/core/runnable/situation_test.rb
riot-0.12.0.pre test/core/runnable/situation_test.rb
riot-0.11.4 test/core/situation_test.rb
riot-0.11.4.pre test/core/situation_test.rb
riot-0.11.3 test/core/situation_test.rb
riot-0.11.2 test/core/situation_test.rb
riot-0.11.1 test/core/situation_test.rb
riot-0.11.0 test/core/situation_test.rb
riot-0.10.13 test/core/situation_test.rb
riot-0.10.13.pre test/core/situation_test.rb
riot-0.10.12 test/core/situation_test.rb
riot-0.10.12.pre test/situation_test.rb
riot-0.10.11 test/situation_test.rb