Showing 661 of 695 total issues
Start context description with 'when', 'with', or 'without'. Open
Open
context "updating" do
- Create a ticketCreate a ticket
- Exclude checks
Name your test subject if you need to reference it explicitly. Open
Open
expect(subject.image.url)
- Create a ticketCreate a ticket
- Exclude checks
Name your test subject if you need to reference it explicitly. Open
Open
.to eq "~#{subject.id}/#{subject.last_action_id}.txt"
- Create a ticketCreate a ticket
- Exclude checks
Empty example group detected. Open
Open
describe Card::Set::Right::Read do
- Create a ticketCreate a ticket
- Exclude checks
Name your test subject if you need to reference it explicitly. Open
Open
expect(subject.image.icon.size).to be < 3000
- Create a ticketCreate a ticket
- Exclude checks
Name your test subject if you need to reference it explicitly. Open
Open
medium_path = subject.image.medium.path
- Create a ticketCreate a ticket
- Exclude checks
Name your test subject if you need to reference it explicitly. Open
Open
subject.delete_files_for_action(subject.last_action)
- Create a ticketCreate a ticket
- Exclude checks
Use let
instead of an instance variable. Open
Open
Card.new(@args).item_names(item_names_args)
- Create a ticketCreate a ticket
- Exclude checks
Empty example group detected. Open
Open
RSpec.describe Card::Set::Right::Following do
- Create a ticketCreate a ticket
- Exclude checks
include
is used at the top level. Use inside class
or module
. Open
Open
include Abstract::Permission
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
This cop checks that include
, extend
and prepend
exists at
the top level.
Using these at the top level affects the behavior of Object
.
There will not be using include
, extend
and prepend
at
the top level. Let's use it inside class
or module
.
Example:
# bad
include M
class C
end
# bad
extend M
class C
end
# bad
prepend M
class C
end
# good
class C
include M
end
# good
class C
extend M
end
# good
class C
prepend M
end
include
is used at the top level. Use inside class
or module
. Open
Open
include File::SelectedAction
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
This cop checks that include
, extend
and prepend
exists at
the top level.
Using these at the top level affects the behavior of Object
.
There will not be using include
, extend
and prepend
at
the top level. Let's use it inside class
or module
.
Example:
# bad
include M
class C
end
# bad
extend M
class C
end
# bad
prepend M
class C
end
# good
class C
include M
end
# good
class C
extend M
end
# good
class C
prepend M
end
Start context description with 'when', 'with', or 'without'. Open
Open
context "storage type: protected" do
- Create a ticketCreate a ticket
- Exclude checks
Start context description with 'when', 'with', or 'without'. Open
Open
context "storage type: unprotected" do
- Create a ticketCreate a ticket
- Exclude checks
Name your test subject if you need to reference it explicitly. Open
Open
subject
- Create a ticketCreate a ticket
- Exclude checks
Name your test subject if you need to reference it explicitly. Open
Open
.to eq "/files/~#{subject.id}/#{subject.last_action_id}.txt"
- Create a ticketCreate a ticket
- Exclude checks
Name your test subject if you need to reference it explicitly. Open
Open
expect(subject.image.icon.size).to be_positive
- Create a ticketCreate a ticket
- Exclude checks
Name your test subject if you need to reference it explicitly. Open
Open
.to eq "/files/~#{subject.id}/#{subject.last_action_id}-original.jpg"
- Create a ticketCreate a ticket
- Exclude checks
Name your test subject if you need to reference it explicitly. Open
Open
expect(subject.image.size).to be_positive
- Create a ticketCreate a ticket
- Exclude checks
Name your test subject if you need to reference it explicitly. Open
Open
.to eq "/files/:#{subject.codename}/bootstrap-medium.png"
- Create a ticketCreate a ticket
- Exclude checks
Name your test subject if you need to reference it explicitly. Open
Open
.to eq "~#{subject.id}/#{subject.last_action_id}.txt"
- Create a ticketCreate a ticket
- Exclude checks