Sha256: 2cd4d1af37565e652949e3f7b69ea708c15fd5fd394b67941e315ae806a16cbd
Contents?: true
Size: 477 Bytes
Versions: 5
Compression:
Stored size: 477 Bytes
Contents
require File.dirname(__FILE__) + "/../lib/stories" require File.dirname(__FILE__) + "/../lib/stories/runner" # Use the story runner by default. Test::Unit::AutoRunner::RUNNERS[:console] = Proc.new {|r| Stories::Runner } class UserStoryTest < Test::Unit::TestCase story "As a user I want to create stories so I can test if they pass" do setup do @user = "valid user" end scenario "A valid user" do assert_equal "valid user", @user end end end
Version data entries
5 entries across 5 versions & 2 rubygems