As a reader I want to see some interesting statistics Scenario: Daily step stats Given I am on the home page When I click the statistics tab Then I want to see some statistics
setup do @roll = Factory :roll end should belong_to :player should 'be findable with the "since" scope' do @new_roll = Factory :roll assert_equal [@new_roll], Roll.since(@roll.created_at) end end end
{:host=>'test.invalid', :pb_port=>12345} Riak::Client.expects(:new).with(h).returns(:slug) fs = RiakFS::Filesystem.new h assert fs assert_equal :slug, fs.riak_client end end