Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@marick
Created May 31, 2011 18:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marick/1001003 to your computer and use it in GitHub Desktop.
Save marick/1001003 to your computer and use it in GitHub Desktop.
should "try calculate output value from input" do
during {
@button.click!
}.behold! {
@slider.receives(:intValue) { 5 }
@textfield.receives(:stringValue) { "some string" }
@output_field.receives(:setStringValue, "Your result is...")
}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment