Skip to content

Commit

Permalink
Remove old failing tests that are no longer relevant
Browse files Browse the repository at this point in the history
  • Loading branch information
andyjeffries committed Jan 9, 2024
1 parent e003bb3 commit 37b67ee
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions spec/lib/configuration_spec.rb
Expand Up @@ -81,18 +81,6 @@ class ConfigurationExample2
expect(SubConfigurationExample.username).to eq("john")
end

it "should escape the username" do
Flexirest::Base.username = "bill@example.com"
expect(Flexirest::Base.username).to eq("bill%40example.com")
Flexirest::Base.username = nil
end

it "should not doubly escape the username" do
Flexirest::Base.username = "bill%40example.com"
expect(Flexirest::Base.username).to_not eq("bill%2540example.com")
Flexirest::Base.username = nil
end

it "should remember the set password" do
expect(ConfigurationExample.password).to eq("smith")
end
Expand All @@ -107,18 +95,6 @@ class ConfigurationExample2
expect(SubConfigurationExample.password).to eq("smith")
end

it "should escape the password" do
Flexirest::Base.password = "something@else"
expect(Flexirest::Base.password).to eq("something%40else")
Flexirest::Base.password = nil
end

it "should not doubly escape the password" do
Flexirest::Base.password = "something%40else"
expect(Flexirest::Base.password).to_not eq("something%2540else")
Flexirest::Base.password = nil
end

it "should default to a form_encoded request_body_type" do
expect(Flexirest::Base.request_body_type).to eq(:form_encoded)
end
Expand Down

0 comments on commit 37b67ee

Please sign in to comment.