summaryrefslogtreecommitdiff
path: root/spec/mspec/spec/utils/name_map_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/mspec/spec/utils/name_map_spec.rb')
-rw-r--r--spec/mspec/spec/utils/name_map_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/mspec/spec/utils/name_map_spec.rb b/spec/mspec/spec/utils/name_map_spec.rb
index d38230ce06..d5d2cca84a 100644
--- a/spec/mspec/spec/utils/name_map_spec.rb
+++ b/spec/mspec/spec/utils/name_map_spec.rb
@@ -129,7 +129,7 @@ describe NameMap, "#file_name" do
it "returns the name of the spec file based on the special entry for the method" do
@map.file_name("~", "Regexp").should == "match_spec.rb"
- @map.file_name("~", "Fixnum").should == "complement_spec.rb"
+ @map.file_name("~", "Integer").should == "complement_spec.rb"
end
it "returns the name of the spec file based on the default entry for the method" do
@@ -137,7 +137,7 @@ describe NameMap, "#file_name" do
end
it "uses the last component of the constant to look up the method name" do
- @map.file_name("^", "NameMapSpecs::Fixnum").should == "bit_xor_spec.rb"
+ @map.file_name("^", "NameMapSpecs::Integer").should == "bit_xor_spec.rb"
end
end