Sha256: 8a88a10f03da6c11100791c1237cfd40b596ad36e5589e386590ba2829ce99a4

Contents?: true

Size: 345 Bytes

Versions: 5

Compression:

Stored size: 345 Bytes

Contents

require "test_helper"

describe "Coverage" do
  let(:order) { Order.new }

  def setup
    reset_order
    Order.add_to_flags a: 1, b: 7
  end

  it "coverage to_s" do
    res = order.act_with_flags.to_s
    puts res if ENV["MORE"]
  end

  it "coverage location raise" do
    assert_raises { order.act_with_flags.location(:unknown) }
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
act_with_flags-3.1.9 test/coding_coverage_test.rb
act_with_flags-3.1.6 test/coding_coverage_test.rb
act_with_flags-3.1.5 test/coding_coverage_test.rb
act_with_flags-3.1.3 test/coding_coverage_test.rb
act_with_flags-3.1.2 test/coding_coverage_test.rb