fixing syntax error in application.rb

I've got this error after running "rails server":
config/application.rb:24: syntax error, unexpected ':', expecting kEND (SyntaxError)
 g.test_framework :rspec, fixture: true

Now it works, for me