Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Test to show: Typo causing error when defining should "..." style sho…

…uld_eventuallys from a class method.
  • Loading branch information...
commit 33b2de681e59e3e2811e0cd0068be91382c9ba5f 1 parent 272ad4e
@cwninja cwninja authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 test/other/should_test.rb
View
5 test/other/should_test.rb
@@ -15,6 +15,10 @@ def self.should_see_class_methods
end
end
+ def self.should_be_able_to_setup_a_should_eventually_in_a_class_method
+ should "be able to setup a should eventually in a class method"
+ end
+
def self.should_see_a_context_block_like_a_Test_Unit_class
should "see a context block as a Test::Unit class" do
assert_equal "ShouldTest", self.class.name
@@ -46,6 +50,7 @@ def self.should_be_able_to_make_context_macros(prefix = nil)
should_see_class_methods
should_see_a_context_block_like_a_Test_Unit_class
should_be_able_to_make_context_macros("Context ")
+ should_be_able_to_setup_a_should_eventually_in_a_class_method
should "not define @blah" do
assert ! self.instance_variables.include?("@blah")
Please sign in to comment.
Something went wrong with that request. Please try again.