mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 21:04:33 +08:00
DEV: Use proper wording for contexts in specs
This commit is contained in:

committed by
Loïc Guitaut

parent
02987e05d5
commit
3eaac56797
@ -44,7 +44,7 @@ RSpec.describe Enum do
|
||||
end
|
||||
end
|
||||
|
||||
context "allows to specify number of first enum member" do
|
||||
describe "allows to specify number of first enum member" do
|
||||
it "number of first enum member should be 0 " do
|
||||
start_enum = Enum.new(:jake, :finn, :princess_bubblegum, :peppermint_butler, start: 0)
|
||||
expect(start_enum[:princess_bubblegum]).to eq(2)
|
||||
|
Reference in New Issue
Block a user