aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/active_relation/relations/attribute_spec.rb2
-rw-r--r--spec/active_relation/relations/rename_relation_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/active_relation/relations/attribute_spec.rb b/spec/active_relation/relations/attribute_spec.rb
index ddfc22fe28..68ff147ab5 100644
--- a/spec/active_relation/relations/attribute_spec.rb
+++ b/spec/active_relation/relations/attribute_spec.rb
@@ -6,7 +6,7 @@ describe Attribute do
@relation2 = TableRelation.new(:bar)
end
- describe '#aliazz' do
+ describe '#alias' do
it "manufactures an aliased attributed" do
pending
end
diff --git a/spec/active_relation/relations/rename_relation_spec.rb b/spec/active_relation/relations/rename_relation_spec.rb
index 9b1d2d5cc8..00a93d10ac 100644
--- a/spec/active_relation/relations/rename_relation_spec.rb
+++ b/spec/active_relation/relations/rename_relation_spec.rb
@@ -26,7 +26,7 @@ describe RenameRelation do
describe '#attributes' do
it "manufactures a list of attributes with the renamed attribute aliased" do
RenameRelation.new(@relation, @relation[:id] => :schmid).attributes.should ==
- (@relation.attributes - [@relation[:id]]) + [@relation[:id].aliazz(:schmid)]
+ (@relation.attributes - [@relation[:id]]) + [@relation[:id].alias(:schmid)]
end
end