spec/parameters_spec.rb in parameters-0.1.4 vs spec/parameters_spec.rb in parameters-0.1.5

- old
+ new

@@ -75,13 +75,13 @@ @test.var = 2 @test.var.should == 2 end it "should set instance variables for paramters" do - @test.instance_variable_get('@var_with_default').should == 'thing' + @test.instance_variable_get(:@var_with_default).should == 'thing' @test.var = 3 - @test.instance_variable_get('@var').should == 3 + @test.instance_variable_get(:@var).should == 3 end it "should allow using lambdas for the default values of parameters" do test1 = TestParameters.new test2 = TestParameters.new