spec/context_spec.rb in appstats-0.20.10 vs spec/context_spec.rb in appstats-0.20.11
- old
+ new
@@ -25,10 +25,10 @@
it "should set context_float to nil" do
@context.context_float.should == nil
end
it "should set on constructor" do
- context = Appstats::Context.new(:context_key => 'a', :context_value => "b", :context_int => 1, :context_float => 1.3)
+ context = Appstats::Context.new(:context_key => 'a', :context_value => "b")
context.context_key.should == 'a'
context.context_value.should == 'b'
context.context_int.should == nil
context.context_float.should == nil
end
\ No newline at end of file