spec/unit/evil/client/operation/request_spec.rb in evil-client-0.3.0 vs spec/unit/evil/client/operation/request_spec.rb in evil-client-0.3.1
- old
+ new
@@ -1,15 +1,15 @@
RSpec.describe Evil::Client::Operation::Request do
before do
- class Test::Body < Evil::Client::Model
+ class Test::Body < Evil::Struct
attribute :foo
end
- class Test::Query < Evil::Client::Model
+ class Test::Query < Evil::Struct
attribute :bar
end
- class Test::Headers < Evil::Client::Model
+ class Test::Headers < Evil::Struct
attribute :baz
end
end
let(:request) { described_class.new(schema) }