Skip to content

Commit

Permalink
Update caller filter once more...
Browse files Browse the repository at this point in the history
  • Loading branch information
myronmarston committed Aug 26, 2013
1 parent 693f9c9 commit f3d70e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/rspec/mocks/caller_filter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class CallerFilter
rails
]

ADDITIONAL_TOP_LEVEL_FILES = %w[ autorun caller_filter ]
ADDITIONAL_TOP_LEVEL_FILES = %w[ autorun ]

LIB_REGEX = %r{/lib/rspec/(#{(RSPEC_LIBS + ADDITIONAL_TOP_LEVEL_FILES).join('|')})(\.rb|/)}

Expand Down
6 changes: 2 additions & 4 deletions spec/rspec/mocks_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,8 @@ def file_contents_for(lib, filename)
end

it 'has an up-to-date rspec/caller_filter file' do
pending "Holding off on this spec for now while this settles"

mocks = file_contents_for("mocks", "rspec/caller_filter.rb")
core = file_contents_for("core", "rspec/caller_filter.rb")
mocks = file_contents_for("mocks", "rspec/mocks/caller_filter.rb")
core = file_contents_for("core", "rspec/core/caller_filter.rb")

expect(mocks).to eq(core)
end
Expand Down

0 comments on commit f3d70e1

Please sign in to comment.