Recent Releases of https://github.com/rubocop/rubocop-rspec
https://github.com/rubocop/rubocop-rspec - RuboCop RSpec v1.22.1
- Fix false positives in
RSpec/ReturnFromStub. (@Darhazer)
- Ruby
Published by bquorning over 8 years ago
https://github.com/rubocop/rubocop-rspec - RuboCop RSpec v1.22.0
- Updates
describe_classto account for RSpecs:systemwrapper of rails system tests. (@EliseFitz15) - Add
RSpec/ExpectChangecop to enforce consistent usage of the change matcher. (@Darhazer) - Add autocorrect support to
RSpec/LetBeforeExamples. (@Darhazer) - Fix
RSpec/InstanceVariableflagging instance variables inside dynamically defined class. (@Darhazer) - Add autocorrect support for
RSpec/ReturnFromStubcop. (@bquorning) - Add
RSpec/ExampleWithoutDescriptioncop. (@Darhazer)
- Ruby
Published by bquorning over 8 years ago
https://github.com/rubocop/rubocop-rspec - RuboCop RSpec v1.21.0
- Compatibility with RuboCop v0.52.0. (@bquorning)
- Improve performance when user does not override default RSpec Pattern config. (@walf443)
- Add
AggregateFailuresByDefaultconfiguration forRSpec/MultipleExpectationscop. (@onk)
- Ruby
Published by bquorning over 8 years ago
https://github.com/rubocop/rubocop-rspec - RuboCop RSpec v1.20.1
- Add "without" to list of default allowed prefixes for
RSpec/ContextWording. (@bquorning)
- Ruby
Published by bquorning over 8 years ago
https://github.com/rubocop/rubocop-rspec - RuboCop RSpec v1.20.0
- Rename namespace
FactoryGirltoFactoryBotfollowing original library update. (@walf443) - Fix exception in
RSpec/ReturnFromStubon empty block. (@yevhene) - Add
RSpec/ContextWordingcop. (@pirj, @telmofcosta) - Fix
RSpec/SubjectStubcop matches receive message inside all matcher. (@walf443)
- Ruby
Published by bquorning over 8 years ago
https://github.com/rubocop/rubocop-rspec - RuboCop RSpec v1.19.0
Compatibility release so users can upgrade RuboCop to 0.51.0. No new features.
- Ruby
Published by bquorning over 8 years ago
https://github.com/rubocop/rubocop-rspec - RuboCop RSpec v1.18.0
- Fix false positive in
Capybara/FeatureMethods. (@Darhazer) - Add
RSpec/Capybara/CurrentPathExpectationcop for feature specs, disallowing setting expectations oncurrent_path. (@timrogers) - Fix false positive in
RSpec/LetBeforeExamplescop when example group contains single let. (@Darhazer)
- Ruby
Published by Darhazer over 8 years ago
https://github.com/rubocop/rubocop-rspec - RuboCop RSpec v1.17.1
- Improved
RSpec/ReturnFromStubto handle string interpolation, hashes and do..end blocks. (@Darhazer) - Fixed compatibility with JRuby. (@zverok)
- Ruby
Published by bquorning over 8 years ago
https://github.com/rubocop/rubocop-rspec - RuboCop RSpec v1.17.0
- Add
RSpec/Capybaranamespace including the first cop for feature specs:Capybara/FeatureMethods. (@rspeicher) - Update to RuboCop 0.50.0. (@bquorning)
- Ruby
Published by bquorning almost 9 years ago
https://github.com/rubocop/rubocop-rspec - RuboCop RSpec v1.16.0
- Add
RSpec/FactoryGirlnamespace including the first cop for factories:FactoryGirl/DynamicAttributeDefinedStatically. (@jonatas) - Add disabled by default
RSpec/AlignLeftLetBrace. (@backus) - Add disabled by default
RSpec/AlignRightLetBrace. (@backus) - Add
RSpec/LetBeforeExamplescop. (@Darhazer) - Add
RSpec/MultipleSubjectscop. (@backus) - Add
RSpec/ReturnFromStubcop. (@Darhazer) - Add
RSpec/VoidExpectcop. (@pocke) - Add
RSpec/InvalidPredicateMatchercop. (@pocke) - Change HookArgument cop to detect when hook has a receiver. (@pocke)
- Add
RSpec/PredicateMatchercop. (@pocke) - Add
RSpec/ExpectInHookcop. (@pocke) RSpec/MultipleExpectationsnow detects usage of expect_any_instance_of. (@Darhazer)RSpec/MultipleExpectationsnow detects usage of is_expected. (@bmorrall)
- Ruby
Published by Darhazer almost 9 years ago
https://github.com/rubocop/rubocop-rspec - RuboCop RSpec v1.15.1
- Fix the handling of various edge cases in the
RSpec/ExampleWordingcop, including one that would cause autocorrect to crash. (@dgollahon) - Fix
RSpec/IteratedExpectationcrashing when there is an assignment in the iteration. (@Darhazer) - Fix false positive in
RSpec/SingleArgumentMessageChaincop when the single argument is a hash. (@Darhazer)
- Ruby
Published by Darhazer about 9 years ago
https://github.com/rubocop/rubocop-rspec - RuboCop RSpec v1.15.0
- Add
RSpec/DescribeSymbolcop. (@tsigo) - Fix error when
RSpec/OverwritingSetupandRSpec/ScatteredLetanalyzed empty example groups. (@backus)
- Ruby
Published by dgollahon about 9 years ago
https://github.com/rubocop/rubocop-rspec - RuboCop RSpec v1.14.0
- Add
RSpec/OverwritingSetupcop. (@Darhazer) - Add autocorrect support for
RSpec/LeadingSubjectcop. (@Darhazer) - Add
RSpec/ScatteredLetcop. (@Darhazer) - Add
RSpec/IteratedExpectationcop. (@Darhazer) - Add
RSpec/EmptyLineAfterSubjectcop. (@Darhazer) - Add
RSpec/EmptyLineAfterFinalLetcop. (@Darhazer)
- Ruby
Published by bquorning about 9 years ago
https://github.com/rubocop/rubocop-rspec - RuboCop RSpec v1.13.0
- Add repeated 'it' detection to
RSpec/ExampleWordingcop. (@dgollahon) - Add [observed_nesting/max_nesting] info to
RSpec/NestedGroupsmessages. (@dgollahon) - Add
RSpec/ItBehavesLikecop. (@dgollahon) - Add
RSpec/SharedContextcop. (@Darhazer) Rspec/MultipleExpectations: Count aggregate_failures block as single expectation. (@Darhazer)- Fix
ExpectActualcop flaggingrspec-railsrouting specs. (@backus) - Fix
FilePathcop not registering offenses for files likespec/blog/user.rbwhen it should bespec/blog/user_spec.rb. (@backus)
- Ruby
Published by Darhazer over 9 years ago
https://github.com/rubocop/rubocop-rspec - RuboCop RSpec v1.12.0
- Add
RSpec/InstanceSpycop. (@Darhazer) - Add
RSpec/BeforeAfterAllfor avoiding leaky global test setup. (@cfabianski)
- Ruby
Published by bquorning over 9 years ago
https://github.com/rubocop/rubocop-rspec - RuboCop RSpec v1.11.0
- Add
AroundBlockcop. (@Darhazer) - Add
EnforcedStyleconfiguration forRSpec/DescribedClasscop. (@Darhazer) - Fix false positive for
RSpec/RepeatedExamplecop. (@redross)
- Ruby
Published by backus over 9 years ago
https://github.com/rubocop/rubocop-rspec - RuboCop RSpec v1.10.0
- Fix false negative for
RSpec/MessageSpiescop. (@onk) - Fix internal dependencies on RuboCop to be compatible with 0.47 release. (@backus)
- Add autocorrect support for
SingleArgumentMessageChaincop. (@bquorning) - Rename
NestedGroups' configuration key fromMaxNestingtoMaxin order to be consistent with other cop configuration. (@backus) - Add
RepeatedExamplecop for detecting repeated examples within example groups. (@backus) - Add
ScatteredSetupcop for enforcing that only onebefore,around, andafterhook are used per example group scope. (@backus) - Add
ExpectOutputcop for recommendingexpect { ... }.to output(...).to_stdout. (@backus)
- Ruby
Published by backus over 9 years ago
https://github.com/rubocop/rubocop-rspec - RuboCop RSpec v1.9.1
- Fix unintentional regression change in
NestedGroupsreported in #270. (@backus) - Change
MaxNestingforNestedGroupsfrom 2 to 3. (@backus)
- Ruby
Published by bquorning over 9 years ago
https://github.com/rubocop/rubocop-rspec - RuboCop RSpec v1.9.0
- Add
MessageSpiescop for enforcing consistent style of eitherexpect(...).to have_receivedorexpect(...).to receive, intended as a replacement for theMessageExpectationcop. (@bquorning) - Fix
DescribeClassto not flagdescribeat the top of a block of shared examples. (@clupprich) - Add
SingleArgumentMessageChaincop for recommending use ofreceiveinstead ofreceive_message_chainwhere possible. (@bquorning) - Add
RepeatedDescriptioncop for detecting repeated example descriptions within example groups. (@backus)
- Ruby
Published by bquorning over 9 years ago
https://github.com/rubocop/rubocop-rspec - RuboCop RSpec v1.8.0
- Optionally ignore method names in the
describeargument when running theFilePathcop. (@bquorning) - Fix regression in how
FilePathconverts alphanumeric class names into paths. (@bquorning) - Add
ImplicitExpectcop for enforcingshouldvs.is_expected.to. (@backus) - Disable
MessageExpectationcop in the default configuration. (@bquorning)
- Ruby
Published by bquorning over 9 years ago
https://github.com/rubocop/rubocop-rspec - RuboCop RSpec v1.7.0
- Add support for checking all example groups with
ExampleLength. (@backus) - Add support for checking shared example groups for
DescribedClass. (@backus) - Add support for checking
itsfrom rspec-its. (@backus) - Add
EmptyExampleGroupcop for detectingdescribes andcontexts without any tests inside. (@backus) - Add
CustomIncludeMethodsconfiguration option forEmptyExampleGroup. (@backus) - Add
NestedGroupscop for detecting excessive example group nesting. (@backus) - Add
MaxNestingconfiguration option forNestedGroupscop. (@backus) - Add
ExpectActualcop for detecting literal values withinexpect(...). (@backus) - Add
MultipleExpectationscop for detecting multipleexpect(...)calls within one example. (@backus) - Add
Maxconfiguration option forMultipleExpectations. (@backus) - Add
SubjectStubcop for testing stubbed test subjects. (@backus) - Add
LetSetupcop for detecting cases wherelet!is used for test setup. (@backus) - Change all cops to only inspect files with names following rspec convention (
*/spec/*and/or_spec.rb). (@backus) - Add
AllCops/RSpecconfiguration option for specifying custom spec file patterns. (@backus) - Add
AssignmentOnlyconfiguration option forRSpec/InstanceVariablecop. (@backus) - Add
BeEqlcop which looks for expectations that can usebe(...)instead ofeql(...). (@backus) - Add autocorrect support for
BeEqlcop. (@backus) - Add
MessageExpectationcop for enforcing consistent style of eitherexpect(...).to receiveorallow(...).to receive. (@backus) - Add
MessageChaincop. (@bquorning)
- Ruby
Published by bquorning over 9 years ago
https://github.com/rubocop/rubocop-rspec - RuboCop RSpec v1.6.0
- Add
SkipBlocksoption forDescribedClasscop. (@backus)
- Ruby
Published by bquorning over 9 years ago
https://github.com/rubocop/rubocop-rspec - RuboCop RSpec v1.5.3
- Add
RSpec/NamedSubjectcop. (@backus)
- Ruby
Published by bquorning over 9 years ago
https://github.com/rubocop/rubocop-rspec - RuboCop RSpec v1.5.2
- Drop support for ruby
2.0.0and2.1.0. (@backus) - Internal refactorings and improved test coverage. (@backus)
- Ruby
Published by bquorning over 9 years ago
https://github.com/rubocop/rubocop-rspec - RuboCop RSpec v1.5.1
- Fix
unrecognized parameter RSpec/VerifiedDoubles:IgnoreSymbolicNameswarning. (@jeffreyc) - Update to rubocop 0.41.2. (@backus)
- Ruby
Published by bquorning over 9 years ago
https://github.com/rubocop/rubocop-rspec - RuboCop RSpec v1.5.0
- Expand
VerifiedDoublescop to check forspyas well asdouble. (@andyw8) - Enable
VerifiedDoublescop by default. (@andyw8) - Add
IgnoreSymbolicNamesoption forVerifiedDoublescop. (@andyw8) - Add
RSpec::ExampleLengthcop. (@andyw8) - Handle alphanumeric class names in
FilePathcop. (@andyw8) - Skip
DescribeClasscop for view specs. (@andyw8) - Skip
FilePathcop for Rails routing specs. (@andyw8) - Add cop to check for focused specs. (@renanborgescampos, @jaredmoody)
- Clean-up
RSpec::NotToNotto use same configuration semantics as other Rubocop cops, add autocorrect support forRSpec::NotToNot. (@baberthal) - Update to rubocop 0.40.0. (@nijikon)
- Ruby
Published by bquorning over 9 years ago
https://github.com/rubocop/rubocop-rspec - RuboCop RSpec v1.4.1
- Ignore routing specs for DescribeClass cop. (@nijikon)
- Move rubocop dependency to runtime. (@nijikon)
- Update to rubocop 0.39.0. (@nijikon)
- Ruby
Published by nijikon about 10 years ago
https://github.com/rubocop/rubocop-rspec - RuboCop RSpec v1.4.0
- Update to rubocop 0.37.2. (@nijikon)
- Update ruby versions we test against. (@nijikon)
- Add RSpec::NotToNot cop. (@miguelfteixeira)
- Add Rspec/AnyInstance cop. (@mlarraz)
- Ruby
Published by nijikon over 10 years ago
https://github.com/rubocop/rubocop-rspec - RuboCop RSpec v1.3.1
- Fix auto correction issue - syntax had changed in RuboCop v0.31
- Add RuboCop clone to vendor folder - see #39 for details
Thanks to @bquorning
- Ruby
Published by geniou almost 11 years ago
https://github.com/rubocop/rubocop-rspec - RuboCop RSpec v1.3.0
- Ignore non string arguments for FilePathCop
- Skip DescribeMethod cop for tagged specs
- Skip DescribeClass cop for feature/request specs
Thanks to @deivid-rodriguez
- Ruby
Published by geniou about 11 years ago
https://github.com/rubocop/rubocop-rspec - RuboCop RSpec v1.2.2
Make RSpec::ExampleWording case insensitive - thanks to @EsterYtterbrinkAtTrialbee (#31)
- Ruby
Published by geniou over 11 years ago
https://github.com/rubocop/rubocop-rspec - RuboCop RSpec v1.2.1
- Add
RSpec::VerifiedDoublescop - thanks to @andyw8
- Ruby
Published by geniou over 11 years ago
https://github.com/rubocop/rubocop-rspec - RuboCop RSpec v1.2.0
- Rename
FileNamecop toFilePathas a workaround - see #19. - Add
autocorrecttoRSpec::ExampleWording. This experimental - use with care and check the changes. - Update to RuboCop
~> 0.24. - Drop support of ruby
1.9.2. - Fix config loader debug output.
- Ruby
Published by geniou almost 12 years ago
https://github.com/rubocop/rubocop-rspec - RuboCop RSpec v1.1.0
Add autocorrect to RSpec::DescribedClass cop.
- Ruby
Published by geniou almost 12 years ago
https://github.com/rubocop/rubocop-rspec - RuboCop RSpec v1.0.1
Fix Bug: Add config folder to gemspec - thanks to @pstengel
- Ruby
Published by geniou almost 12 years ago
https://github.com/rubocop/rubocop-rspec - RuboCop RSpec v1.0
This is the abstract of the changes since 0.18.1
- Update code to work with RuboCop
~> 0.23. - Split
UnitSpecNamingcop intoDescribeClass,DescribeMethodandFileNameand enabled them all by default. - Gem is no longer 20MB.
- Add
ExampleWordingcop to prevent to use ofshouldat the beginning of the spec description. - Add
MultipleDescribescop to check for multiple top level describes. - Add
DescribedClasscop to promote the use ofdescribed_class. - Add
InstanceVariablecop to check for the usage of instance variables.
- Ruby
Published by geniou about 12 years ago
https://github.com/rubocop/rubocop-rspec - RuboCop RSpec v1.0.rc3
- Update to RuboCop
>= 0.23. - Add configuration option for
CustomTransformationtoFileNamecop.
The cops names have changed to match the new RuboCop namespace style (e.g. RSpec/FileName instead of RSpecFileName)
This should be the last release before version 1.0.0.
- Ruby
Published by geniou about 12 years ago
https://github.com/rubocop/rubocop-rspec - RuboCop RSpec v1.0.rc2
- Gem is no longer 20MB (sorry!).
RspecFileNamecop allows for method specs to organized into directories by class and type.
- Ruby
Published by geniou about 12 years ago
https://github.com/rubocop/rubocop-rspec - RuboCop RSpec v1.0.rc1
- Update code to work with rubocop
>= 0.19. - Split
UnitSpecNamingcop intoRSpecDescribeClass,RSpecDescribeMethodandRSpecFileNameand enabled them all by default. - Add
RSpecExampleWordingcop to prevent to use of "should" at the beginning of the spec description. - Fix
RSpecFileNamecop for non-class specs. - Adapt
RSpecFileNamecop to common naming convention and skip spec with multiple top level describes. - Add
RSpecMultipleDescribescop to check for multiple top level describes. - Add
RSpecDescribedClasscop to promote the use ofdescribed_class. - Add
RSpecInstanceVariablecop to check for the usage of instance variables.
WARNING: Cop names are under flux and will likely change in the near future.
We're hoping to introduce namespaces into the mix.
- Ruby
Published by geniou about 12 years ago