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:
commit
7ece395e5a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue