File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ def metadata_hash(*args)
180
180
181
181
it 'does not have problems with example groups named "Core"' , :unless => RUBY_VERSION == '1.9.2' do
182
182
RSpec . describe ( "Core" )
183
- expect ( defined? ( ::RSpec ::ExampleGroups ::Core ) ) . to eq ( 'constant' )
183
+ expect ( defined? ( ::RSpec ::ExampleGroups ::Core ) ) . to be
184
184
185
185
# The original bug was triggered when a group was defined AFTER one named `Core`,
186
186
# due to it not using the fully qualified `::RSpec::Core::ExampleGroup` constant.
@@ -190,7 +190,7 @@ def metadata_hash(*args)
190
190
191
191
it 'does not have problems with example groups named "RSpec"' , :unless => RUBY_VERSION == '1.9.2' do
192
192
RSpec . describe ( "RSpec" )
193
- expect ( defined? ( ::RSpec ::ExampleGroups ::RSpec ) ) . to eq ( 'constant' )
193
+ expect ( defined? ( ::RSpec ::ExampleGroups ::RSpec ) ) . to be
194
194
195
195
# The original bug was triggered when a group was defined AFTER one named `RSpec`,
196
196
# due to it not using the fully qualified `::RSpec::Core::ExampleGroup` constant.
You can’t perform that action at this time.
0 commit comments