Skip to content

Commit

Permalink
Fixing broken google specs
Browse files Browse the repository at this point in the history
  • Loading branch information
jkrall committed Jan 22, 2012
1 parent 5c529b9 commit 5b6dae6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/analytical/modules/google_spec.rb
Expand Up @@ -76,7 +76,7 @@
end

it "adds an item with a nil category" do
@api.add_item(123, 'foo', 'bar', nil, 10.24, 42).should == "_gaq.push(['_addItem', '123', 'foo', 'bar', null, '10.24', '42']);"
@api.add_item(123, 'foo', 'bar', nil, 10.24, 42).should == "_gaq.push(['_addItem', '123', 'foo', 'bar', '', '10.24', '42']);"
end
end

Expand All @@ -86,7 +86,7 @@
end

it "sets up a transaction without optional params" do
@api.add_trans(123, nil, 100.0).should == "_gaq.push(['_addTrans', '123', null, '100.0']);"
@api.add_trans(123, nil, 100.0).should == "_gaq.push(['_addTrans', '123', '', '100.0', '', '', '', '', '']);"
end

end
Expand Down

0 comments on commit 5b6dae6

Please sign in to comment.