maltize/sublime-text-2-ruby-tests — Issue #8: RailsTests - Ruby 1.9.2
Author: frodriguezsanc
Created: 2011-10-18 02:42:51+00:00
State: open

When i run this controller's test:

test "should login" do
dave = users(:one)
post :create, name: dave.name, password: 'secret'
assert_redirected_to admin_url
assert_equal dave.id, session[:user_id]
end

I get this message:

/home/francesco/rails/depot/test/functional/sessions_controller_test.rb:11: syntax error, unexpected ':', expecting kEND
post :create, name: dave.name, password: 'secret'

This plugin works for Ruby 1.9.2? Thanks.