Skip to content

Instantly share code, notes, and snippets.

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

Embed
What would you like to do?
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
You can’t perform that action at this time.