Sha256: b63e4e5207c68a9d5aa755a95d0a5759d783cafba4cd145e5a84e6d1aa562dcc
Contents?: true
Size: 493 Bytes
Versions: 1
Compression:
Stored size: 493 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe "progress_bar_to" do [:value, :result].to_objects {[ [1], [2], [8] ]}.each do |test| describe "progress bars" do before do @result = progress_bar_to(test.value) end it "should create a progress bar with the right value" do @result.is_a?(PanicBoardData::ProgressBar).must_equal true @result.value.must_equal test.value end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
panic_board_data-0.0.11 | spec/panic_board_data/kernel_spec.rb |