summaryrefslogtreecommitdiff
path: root/spec/unit/parser/functions/is_float_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/parser/functions/is_float_spec.rb')
-rw-r--r--spec/unit/parser/functions/is_float_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/parser/functions/is_float_spec.rb b/spec/unit/parser/functions/is_float_spec.rb
index 3d58017..35c0dd6 100644
--- a/spec/unit/parser/functions/is_float_spec.rb
+++ b/spec/unit/parser/functions/is_float_spec.rb
@@ -19,7 +19,7 @@ describe "the is_float function" do
end
it "should return true if a float" do
- result = @scope.function_is_float([0.12])
+ result = @scope.function_is_float(["0.12"])
result.should(eq(true))
end
@@ -29,7 +29,7 @@ describe "the is_float function" do
end
it "should return false if not an integer" do
- result = @scope.function_is_float([3])
+ result = @scope.function_is_float(["3"])
result.should(eq(false))
end