Sha256: 312bdb9184665908dae8043da71e9158d78f883cdea79cb520d60d2986d18e20

Contents?: true

Size: 348 Bytes

Versions: 3

Compression:

Stored size: 348 Bytes

Contents

require "test_helper"

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

  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

3 entries across 3 versions & 1 rubygems

Version Path
act_with_flags-3.1.1 test/coding_coverage_test.rb
act_with_flags-3.1.0 test/coding_coverage_test.rb
act_with_flags-3.0.1 test/coding_coverage_test.rb