it 'assigns all timetable, shopper, clients and user versions as @versions' do
xhr :get, :index, { month: 0 }
body = JSON.parse(response.body)["results"]
serialized_version = VersionSerializer.new(
current_month_version.decorate,
root: false
).as_json.stringify_keys
expect(body).to include(serialized_version)
end