Sha256: 1393a48740cb1c8b165a6f3acc0a2b58be49dced54e1503ea7a05268d6943bb5
Contents?: true
Size: 501 Bytes
Versions: 3
Compression:
Stored size: 501 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe Azeroth::ResourceRouteBuilder do subject(:resource_routes_builder) do described_class.new(model, builder) end let(:model) { Azeroth::Model.new(:document) } let(:builder) { Sinclair.new(klass) } let(:klass) { Class.new(ResourceRouteBuilderController) } before do resource_routes_builder.append 10.times { Document.create } end describe '#append' do it_behaves_like 'a route resource build' end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
azeroth-0.0.7 | spec/lib/azeroth/resource_route_builder_spec.rb |
azeroth-0.0.6 | spec/lib/azeroth/resource_route_builder_spec.rb |
azeroth-0.0.5 | spec/lib/azeroth/resource_route_builder_spec.rb |