Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
Checking mergeability… Don't worry, you can still create the pull request.
  • 5 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Showing with 9 additions and 1 deletion.
  1. +4 −0 Gemfile
  2. +5 −1 lib/specjour/loader.rb
View
4 Gemfile
@@ -1,2 +1,6 @@
source :rubygems
gemspec
+
+#gem "rspec-core", "~> 2.11", :git => "https://github.com/rspec/rspec-core" , :ref => "b8197262d143294bf849ab58d1586d24537965ab" #2.11.1
+#gem "rspec-core", "~> 2.11", :git => "https://github.com/rspec/rspec-core" #, :ref => "4fd3882d7e667a0c876bc6a412fa85fc70a6d314" #2.11.1+change in metadata
+gem "rspec-core", "~> 2.11", :git => "https://github.com/rspec/rspec-core" #current rspec-core
View
6 lib/specjour/loader.rb
@@ -106,7 +106,11 @@ def filtered_examples
locations = examples.map do |e|
meta = e.metadata
shared_group = e.example_group.ancestors.detect do |group|
- group.metadata[:shared_group_name]
+ if group.respond_to?('metadata')
+ if !group.metadata.nil?
+ group.metadata[:shared_group_name]
+ end
+ end
end
if shared_group
meta = shared_group.metadata[:example_group]

No commit comments for this range

Something went wrong with that request. Please try again.