DEV: Fix rspec-expectations warnings (#228)
This commit is contained in:
parent
9e94457154
commit
1eb70c4f0a
|
@ -36,9 +36,9 @@ RSpec.describe DiscourseAi::AiBot::OpenAiBot do
|
|||
|
||||
context "when cleaning usernames" do
|
||||
it "can properly clean usernames so OpenAI allows it" do
|
||||
subject.clean_username("test test").should eq("test_test")
|
||||
subject.clean_username("test.test").should eq("test_test")
|
||||
subject.clean_username("test😀test").should eq("test_test")
|
||||
expect(subject.clean_username("test test")).to eq("test_test")
|
||||
expect(subject.clean_username("test.test")).to eq("test_test")
|
||||
expect(subject.clean_username("test😀test")).to eq("test_test")
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue