Merge pull request #1708 from chancancode/dont_abuse_as_json

Don't abuse as_json, it's not meant for consumption
This commit is contained in:
Sam 2013-11-30 03:39:27 -08:00
commit 7ece395e5a
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ describe DiscourseUpdates do
Jobs::VersionCheck.any_instance.stubs(:execute).returns(true)
end
subject { DiscourseUpdates.check_version.as_json }
subject { DiscourseUpdates.check_version.instance_values }
context 'version check was done at the current installed version' do
before do