inconsistent style :p

maybe I chained it like expects(:trophy_check).with(user) or something
before and deleted it for some reason


On Tue, Apr 15, 2014 at 12:22 PM, tobyk100 <notifications@github.com> wrote:

> In test/controllers/activities_controller_test.rb:
>
> > +    expected_response = {"previous_level"=>"/s/1/level/1",
> > +                         "message"=>"try again",
> > +                         "level_source"=>"http://test.host/sh/#{assigns(:level_source).id}"}
> > +
> > +    assert_equal expected_response, JSON.parse(@response.body)
> > +  end
> > +
> > +  test "logged in milestone with image" do
> > +    # TODO actually test experiment instead of just stubbing it out
> > +    ExperimentActivity.expects(:is_experimenting_feedback_design?).returns(false)
> > +
> > +    # do all the logging
> > +    @controller.expects :log_milestone
> > +    @controller.expects :slog
> > +
> > +    @controller.expects(:trophy_check)
>
> Why does this have () and the previous lines do not?
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/code-dot-org/dashboard/pull/470/files#r11652633>
> .
>