Skip to content

Instantly share code, notes, and snippets.

@marick marick/gist:1001003
Created May 31, 2011

What would you like to do?
should "try calculate output value from input" do
during {!
}.behold! {
@slider.receives(:intValue) { 5 }
@textfield.receives(:stringValue) { "some string" }
@output_field.receives(:setStringValue, "Your result is...")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.