Permalink
Browse files

scope module for Ruby 1.9

  • Loading branch information...
1 parent 75b4d83 commit 80bd5eae2871feb17d86d105ef16ca3f428bd4a5 @dchelimsky dchelimsky committed Mar 17, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/rspec/core/shared_example_group_spec.rb
@@ -144,10 +144,10 @@ def extra_helper; end
end
describe "running shared examples" do
- module RunningSharedExamplesJustForTesting; end
+ module ::RunningSharedExamplesJustForTesting; end
share_examples_for("it runs shared examples") do
- include RunningSharedExamplesJustForTesting
+ include ::RunningSharedExamplesJustForTesting
class << self
def magic

0 comments on commit 80bd5ea

Please sign in to comment.