[Ruby] Escape string interpolation notation of Ruby (#2261) (#2287)

* escape string interpolation notation of Ruby (#2261)

* update samples (#2261)
This commit is contained in:
Akira Tanimura
2019-03-04 23:22:45 +09:00
committed by William Cheng
parent 88abea1755
commit 1d02f0374b
12 changed files with 82 additions and 22 deletions

View File

@@ -19,7 +19,7 @@ require 'json'
describe 'AnotherFakeApi' do
before do
# run before each test
@instance = Petstore::AnotherFakeApi.new
@api_instance = Petstore::AnotherFakeApi.new
end
after do
@@ -28,7 +28,7 @@ describe 'AnotherFakeApi' do
describe 'test an instance of AnotherFakeApi' do
it 'should create an instance of AnotherFakeApi' do
expect(@instance).to be_instance_of(Petstore::AnotherFakeApi)
expect(@api_instance).to be_instance_of(Petstore::AnotherFakeApi)
end
end

View File

@@ -19,7 +19,7 @@ require 'json'
describe 'FakeApi' do
before do
# run before each test
@instance = Petstore::FakeApi.new
@api_instance = Petstore::FakeApi.new
end
after do
@@ -28,7 +28,7 @@ describe 'FakeApi' do
describe 'test an instance of FakeApi' do
it 'should create an instance of FakeApi' do
expect(@instance).to be_instance_of(Petstore::FakeApi)
expect(@api_instance).to be_instance_of(Petstore::FakeApi)
end
end

View File

@@ -19,7 +19,7 @@ require 'json'
describe 'FakeClassnameTags123Api' do
before do
# run before each test
@instance = Petstore::FakeClassnameTags123Api.new
@api_instance = Petstore::FakeClassnameTags123Api.new
end
after do
@@ -28,7 +28,7 @@ describe 'FakeClassnameTags123Api' do
describe 'test an instance of FakeClassnameTags123Api' do
it 'should create an instance of FakeClassnameTags123Api' do
expect(@instance).to be_instance_of(Petstore::FakeClassnameTags123Api)
expect(@api_instance).to be_instance_of(Petstore::FakeClassnameTags123Api)
end
end

View File

@@ -19,7 +19,7 @@ require 'json'
describe 'PetApi' do
before do
# run before each test
@instance = Petstore::PetApi.new
@api_instance = Petstore::PetApi.new
end
after do
@@ -28,7 +28,7 @@ describe 'PetApi' do
describe 'test an instance of PetApi' do
it 'should create an instance of PetApi' do
expect(@instance).to be_instance_of(Petstore::PetApi)
expect(@api_instance).to be_instance_of(Petstore::PetApi)
end
end

View File

@@ -19,7 +19,7 @@ require 'json'
describe 'StoreApi' do
before do
# run before each test
@instance = Petstore::StoreApi.new
@api_instance = Petstore::StoreApi.new
end
after do
@@ -28,7 +28,7 @@ describe 'StoreApi' do
describe 'test an instance of StoreApi' do
it 'should create an instance of StoreApi' do
expect(@instance).to be_instance_of(Petstore::StoreApi)
expect(@api_instance).to be_instance_of(Petstore::StoreApi)
end
end

View File

@@ -19,7 +19,7 @@ require 'json'
describe 'UserApi' do
before do
# run before each test
@instance = Petstore::UserApi.new
@api_instance = Petstore::UserApi.new
end
after do
@@ -28,7 +28,7 @@ describe 'UserApi' do
describe 'test an instance of UserApi' do
it 'should create an instance of UserApi' do
expect(@instance).to be_instance_of(Petstore::UserApi)
expect(@api_instance).to be_instance_of(Petstore::UserApi)
end
end