head 1.59; access; symbols pkgsrc-2026Q1:1.59.0.2 pkgsrc-2026Q1-base:1.59 pkgsrc-2025Q4:1.56.0.4 pkgsrc-2025Q4-base:1.56 pkgsrc-2025Q3:1.56.0.2 pkgsrc-2025Q3-base:1.56 pkgsrc-2025Q2:1.55.0.4 pkgsrc-2025Q2-base:1.55 pkgsrc-2025Q1:1.55.0.2 pkgsrc-2025Q1-base:1.55 pkgsrc-2024Q4:1.53.0.4 pkgsrc-2024Q4-base:1.53 pkgsrc-2024Q3:1.53.0.2 pkgsrc-2024Q3-base:1.53 pkgsrc-2024Q2:1.51.0.4 pkgsrc-2024Q2-base:1.51 pkgsrc-2024Q1:1.51.0.2 pkgsrc-2024Q1-base:1.51 pkgsrc-2023Q4:1.49.0.2 pkgsrc-2023Q4-base:1.49 pkgsrc-2023Q3:1.47.0.4 pkgsrc-2023Q3-base:1.47 pkgsrc-2023Q2:1.47.0.2 pkgsrc-2023Q2-base:1.47 pkgsrc-2023Q1:1.45.0.4 pkgsrc-2023Q1-base:1.45 pkgsrc-2022Q4:1.45.0.2 pkgsrc-2022Q4-base:1.45 pkgsrc-2022Q3:1.44.0.2 pkgsrc-2022Q3-base:1.44 pkgsrc-2022Q2:1.43.0.4 pkgsrc-2022Q2-base:1.43 pkgsrc-2022Q1:1.43.0.2 pkgsrc-2022Q1-base:1.43 pkgsrc-2021Q4:1.42.0.4 pkgsrc-2021Q4-base:1.42 pkgsrc-2021Q3:1.42.0.2 pkgsrc-2021Q3-base:1.42 pkgsrc-2021Q2:1.41.0.4 pkgsrc-2021Q2-base:1.41 pkgsrc-2021Q1:1.41.0.2 pkgsrc-2021Q1-base:1.41 pkgsrc-2020Q4:1.37.0.6 pkgsrc-2020Q4-base:1.37 pkgsrc-2020Q3:1.37.0.4 pkgsrc-2020Q3-base:1.37 pkgsrc-2020Q2:1.37.0.2 pkgsrc-2020Q2-base:1.37 pkgsrc-2020Q1:1.35.0.2 pkgsrc-2020Q1-base:1.35 pkgsrc-2019Q4:1.33.0.4 pkgsrc-2019Q4-base:1.33 pkgsrc-2019Q3:1.32.0.6 pkgsrc-2019Q3-base:1.32 pkgsrc-2019Q2:1.32.0.4 pkgsrc-2019Q2-base:1.32 pkgsrc-2019Q1:1.32.0.2 pkgsrc-2019Q1-base:1.32 pkgsrc-2018Q4:1.31.0.8 pkgsrc-2018Q4-base:1.31 pkgsrc-2018Q3:1.31.0.6 pkgsrc-2018Q3-base:1.31 pkgsrc-2018Q2:1.31.0.4 pkgsrc-2018Q2-base:1.31 pkgsrc-2018Q1:1.31.0.2 pkgsrc-2018Q1-base:1.31 pkgsrc-2017Q4:1.29.0.6 pkgsrc-2017Q4-base:1.29 pkgsrc-2017Q3:1.29.0.4 pkgsrc-2017Q3-base:1.29 pkgsrc-2017Q2:1.27.0.2 pkgsrc-2017Q2-base:1.27 pkgsrc-2017Q1:1.25.0.4 pkgsrc-2017Q1-base:1.25 pkgsrc-2016Q4:1.25.0.2 pkgsrc-2016Q4-base:1.25 pkgsrc-2016Q3:1.24.0.6 pkgsrc-2016Q3-base:1.24 pkgsrc-2016Q2:1.24.0.4 pkgsrc-2016Q2-base:1.24 pkgsrc-2016Q1:1.24.0.2 pkgsrc-2016Q1-base:1.24 pkgsrc-2015Q4:1.23.0.2 pkgsrc-2015Q4-base:1.23 pkgsrc-2015Q3:1.22.0.2 pkgsrc-2015Q3-base:1.22 pkgsrc-2015Q2:1.21.0.2 pkgsrc-2015Q2-base:1.21 pkgsrc-2015Q1:1.18.0.2 pkgsrc-2015Q1-base:1.18 pkgsrc-2014Q4:1.15.0.8 pkgsrc-2014Q4-base:1.15 pkgsrc-2014Q3:1.15.0.6 pkgsrc-2014Q3-base:1.15 pkgsrc-2014Q2:1.15.0.4 pkgsrc-2014Q2-base:1.15 pkgsrc-2014Q1:1.15.0.2 pkgsrc-2014Q1-base:1.15 pkgsrc-2013Q4:1.14.0.4 pkgsrc-2013Q4-base:1.14 pkgsrc-2013Q3:1.14.0.2 pkgsrc-2013Q3-base:1.14 pkgsrc-2013Q2:1.13.0.2 pkgsrc-2013Q2-base:1.13 pkgsrc-2013Q1:1.11.0.2 pkgsrc-2013Q1-base:1.11 pkgsrc-2012Q4:1.8.0.2 pkgsrc-2012Q4-base:1.8 pkgsrc-2012Q3:1.7.0.2 pkgsrc-2012Q3-base:1.7 pkgsrc-2012Q2:1.6.0.2 pkgsrc-2012Q2-base:1.6 pkgsrc-2012Q1:1.5.0.2 pkgsrc-2012Q1-base:1.5 pkgsrc-2011Q4:1.3.0.2 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.1.1.1.0.4 pkgsrc-2011Q3-base:1.1.1.1 pkgsrc-2011Q2:1.1.1.1.0.2 pkgsrc-2011Q2-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.59 date 2026.03.12.15.48.07; author taca; state Exp; branches; next 1.58; commitid em5YmBwsNfjYwHxG; 1.58 date 2026.03.01.07.39.18; author taca; state Exp; branches; next 1.57; commitid X10fWQXKDJpbbfwG; 1.57 date 2026.02.23.14.27.24; author taca; state Exp; branches; next 1.56; commitid SrYTAyUeN9A6DvvG; 1.56 date 2025.07.27.16.04.28; author taca; state Exp; branches; next 1.55; commitid 7dYjOaTxLUEFWo4G; 1.55 date 2025.02.09.13.50.07; author taca; state Exp; branches; next 1.54; commitid M2Jhv1HXdsVFBNIF; 1.54 date 2025.01.19.16.05.12; author taca; state Exp; branches; next 1.53; commitid KlWhUhybnLgR17GF; 1.53 date 2024.09.23.00.33.57; author taca; state Exp; branches; next 1.52; commitid bRG6eXVWbvkwFRqF; 1.52 date 2024.06.30.16.13.40; author taca; state Exp; branches; next 1.51; commitid 6s0BGQsNQ38kB1gF; 1.51 date 2024.03.24.14.12.51; author taca; state Exp; branches; next 1.50; commitid l5v7nMsIe3Ja5q3F; 1.50 date 2024.02.03.15.38.36; author taca; state Exp; branches; next 1.49; commitid zX8ZiKdkhapfa0XE; 1.49 date 2023.11.30.15.47.26; author taca; state Exp; branches; next 1.48; commitid aYls5U6kynffiEOE; 1.48 date 2023.11.30.15.43.07; author taca; state Exp; branches; next 1.47; commitid oSitXlDdv68hhEOE; 1.47 date 2023.06.06.13.47.54; author taca; state Exp; branches; next 1.46; commitid rifwy08U8peykTrE; 1.46 date 2023.05.06.02.24.15; author taca; state Exp; branches; next 1.45; commitid DuvDg9Ad5prNxQnE; 1.45 date 2022.11.30.13.55.10; author taca; state Exp; branches; next 1.44; commitid 7701ijYbnEoHpJ3E; 1.44 date 2022.08.26.11.22.12; author taca; state Exp; branches; next 1.43; commitid xWusjg3XGhavEnRD; 1.43 date 2022.02.12.13.38.22; author taca; state Exp; branches; next 1.42; commitid eFhIEEcgsyARFksD; 1.42 date 2021.08.22.14.01.51; author taca; state Exp; branches; next 1.41; commitid 1ht4n5iKTkYGoY5D; 1.41 date 2021.03.21.12.54.20; author taca; state Exp; branches; next 1.40; commitid X3CaVJDMGJwpYaMC; 1.40 date 2021.03.09.13.58.38; author taca; state Exp; branches; next 1.39; commitid lfJ9cO9dNlQoIDKC; 1.39 date 2021.03.07.08.33.44; author taca; state Exp; branches; next 1.38; commitid PSOuBM0I7rGVYlKC; 1.38 date 2021.01.11.13.10.33; author taca; state Exp; branches; next 1.37; commitid jeY38UvmlrDvhjDC; 1.37 date 2020.05.25.13.51.32; author taca; state Exp; branches; next 1.36; commitid irmbCnpFBLCtVC9C; 1.36 date 2020.04.27.06.58.35; author taca; state Exp; branches; next 1.35; commitid 32IbFIUevqQXxZ5C; 1.35 date 2020.03.20.15.08.57; author taca; state Exp; branches; next 1.34; commitid Oeiv6PvGDH00u91C; 1.34 date 2020.03.15.17.03.30; author taca; state Exp; branches; next 1.33; commitid 4pEtCzdxqZa9hw0C; 1.33 date 2019.11.02.14.41.08; author taca; state Exp; branches; next 1.32; commitid RJTlNKT949mnNhJB; 1.32 date 2019.02.06.15.16.52; author taca; state Exp; branches; next 1.31; commitid I9KB7cFMVlyNDIaB; 1.31 date 2018.03.18.14.21.21; author taca; state Exp; branches; next 1.30; commitid 00Pi3lP0hRjdMWuA; 1.30 date 2018.03.14.14.23.28; author taca; state Exp; branches; next 1.29; commitid MCCpGHfjrAG2VquA; 1.29 date 2017.09.04.18.08.23; author wiz; state Exp; branches; next 1.28; commitid H3CpyvMOZDCWiU5A; 1.28 date 2017.08.31.15.21.32; author taca; state Exp; branches; next 1.27; commitid fUyHsTDGXsSFvn5A; 1.27 date 2017.06.21.15.42.10; author taca; state Exp; branches; next 1.26; commitid LN8j1ebJ13n2UfWz; 1.26 date 2017.06.05.14.08.17; author taca; state Exp; branches; next 1.25; commitid Jje0j5yCORcWTbUz; 1.25 date 2016.10.09.15.06.30; author taca; state Exp; branches; next 1.24; commitid 9KqLO1MXI8KbUtpz; 1.24 date 2016.02.16.16.02.35; author taca; state Exp; branches; next 1.23; commitid 8roJwH8XktDKN9Vy; 1.23 date 2015.11.29.14.59.13; author taca; state Exp; branches; next 1.22; commitid v7PFpHM5A7ItZZKy; 1.22 date 2015.09.13.11.56.42; author taca; state Exp; branches; next 1.21; commitid EKjgruTPdQqis5By; 1.21 date 2015.06.14.13.14.15; author taca; state Exp; branches; next 1.20; commitid dwPW3LBrqQZfOopy; 1.20 date 2015.06.13.00.01.37; author taca; state Exp; branches; next 1.19; commitid UPGxuzp2fLdhscpy; 1.19 date 2015.06.07.04.17.39; author taca; state Exp; branches; next 1.18; commitid Fyj6i8qdO9g54soy; 1.18 date 2015.03.13.13.49.03; author taca; state Exp; branches; next 1.17; commitid eV0mVP1S7mPwZrdy; 1.17 date 2015.02.07.14.44.08; author taca; state Exp; branches; next 1.16; commitid iGKGoY6EcaGco59y; 1.16 date 2015.02.02.14.29.40; author taca; state Exp; branches; next 1.15; commitid umDFrWfdofxatr8y; 1.15 date 2014.03.14.16.43.43; author taca; state Exp; branches; next 1.14; commitid wMYNt7ZEDg4SEGsx; 1.14 date 2013.09.15.10.17.31; author taca; state Exp; branches; next 1.13; commitid 1axCxD33LoU6jw5x; 1.13 date 2013.06.16.16.31.05; author taca; state Exp; branches; next 1.12; commitid 7iSbU98XBcVxiRTw; 1.12 date 2013.04.06.03.45.12; author rodent; state Exp; branches; next 1.11; 1.11 date 2013.03.11.07.50.31; author taca; state Exp; branches; next 1.10; 1.10 date 2013.01.14.06.12.41; author taca; state Exp; branches; next 1.9; 1.9 date 2013.01.12.09.17.48; author taca; state Exp; branches; next 1.8; 1.8 date 2012.12.16.16.46.14; author taca; state Exp; branches; next 1.7; 1.7 date 2012.09.04.14.52.19; author taca; state Exp; branches; next 1.6; 1.6 date 2012.06.02.00.48.42; author taca; state Exp; branches; next 1.5; 1.5 date 2012.03.20.13.42.34; author taca; state Exp; branches; next 1.4; 1.4 date 2012.03.17.15.08.56; author taca; state Exp; branches; next 1.3; 1.3 date 2011.12.16.15.58.44; author taca; state Exp; branches; next 1.2; 1.2 date 2011.12.13.15.55.20; author taca; state Exp; branches; next 1.1; 1.1 date 2011.06.18.04.03.39; author taca; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2011.06.18.04.03.39; author taca; state Exp; branches; next ; desc @@ 1.59 log @devel/ruby-rspec-rails: update 8.0.4 (2026-03-10) * Released to relax version constraint for rspec to allow 4.0.0.beta1. @ text @# $NetBSD: Makefile,v 1.58 2026/03/01 07:39:18 taca Exp $ DISTNAME= rspec-rails-8.0.4 CATEGORIES= devel MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/rspec/rspec-rails COMMENT= Test-double framework for rspec LICENSE= mit DEPENDS+= ${RUBY_ACTIVESUPPORT_DEPENDS} DEPENDS+= ${RUBY_ACTIONPACK_DEPENDS} DEPENDS+= ${RUBY_RAILTIES_DEPENDS} DEPENDS+= ${RUBY_PKGPREFIX}-rspec-support>=3.13<4:../../devel/ruby-rspec-support DEPENDS+= ${RUBY_PKGPREFIX}-rspec-core>=3.13<4:../../devel/ruby-rspec-core DEPENDS+= ${RUBY_PKGPREFIX}-rspec-expectations>=3.13<4:../../devel/ruby-rspec-expectations DEPENDS+= ${RUBY_PKGPREFIX}-rspec-mocks>=3.13<4:../../devel/ruby-rspec-mocks USE_LANGUAGES= # empty RUBY_RAILS_ACCEPTED= 72 80 .include "../../lang/ruby/gem.mk" .include "../../mk/bsd.pkg.mk" @ 1.58 log @devel/ruby-rspec-rails: update to 8.0.3 8.0.0 (2025-04-30) Enhancements: * Add Rails 8 authentication generator support. (Jerome Dalbert, #2811) * Improve install generator comment for ActiveRecord::Migration.maintain_test_schema! (#2832) * Add support for served_by in system specs. (Sam Giffney, #2841) Breaking Changes: * Minimum supported Rails version is 7.2.0 8.0.1 (2025-06-19) Bug Fixes: * Make the have_been_performed / have_been_enqueued return false for supports_block_expectations? as they don't supporting block expectations. (Sam Kidman, #2851) 8.0.2 (2025-08-12) Bug Fixes: * Fix scaffold generator producing deprecated Rack http statuses. (Taketo Takashima, #2860) 8.0.3 / 2026-02-17 Bug Fixes: * Fix insertion order of controller prefix in the view lookup_context. (Stephen Nelson, #2749) * Ensure rails stats looks for specs using application root rather than working directory. (Marvin Tangpos, #2879) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.57 2026/02/23 14:27:24 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-8.0.3 @ 1.57 log @Drop use of rails70 and rails71. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.56 2025/07/27 16:04:28 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-7.1.1 d21 1 a21 1 RUBY_RAILS_ACCEPTED= 72 @ 1.56 log @devel/ruby-rspec Update HOMEPAGE of related packages: ruby-rspec ruby-rspec-expectations ruby-rspec-mocks ruby-rspec-rails ruby-rspec-support @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.55 2025/02/09 13:50:07 taca Exp $ d21 1 a21 1 RUBY_RAILS_ACCEPTED= 72 71 70 @ 1.55 log @devel/ruby-rspec-rails: update to 7.1.1 7.1.1 (2025-02-06) Bug Fixes: * Check wether rspec-mocks has been loaded before enabling signature verification for have_enqueued_job et al (Jon Rowe, #2823) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.54 2025/01/19 16:05:12 taca Exp $ d7 1 a7 1 HOMEPAGE= https://relishapp.com/rspec @ 1.54 log @devel/ruby-rspec-rails: update to 7.1.0 7.0.0 (2024-09-02) Enhancements: * Change default driver for system specs on Rails 7.2 to match its default. (Steve Polito, #2746) * Verify ActiveJob arguments by comparing to the method signature. (Oli Peate, #2745) * Add suggestion to rails_helper.rb to skip when not in test mode. (Glauco Custódio, #2751) * Add at_priority qualifier to have_enqueued_job set of matchers. (mbajur, #2759) * Add spec directories to rails stats on Rails main / 8.0.0. (Petrik de Heus, #2781) 7.0.1 (2024-09-03) Bug Fixes: * Remove mutation of Rails constant in favour of public api. (Petrik de Heus, #2789) * Cleanup Rails scaffold for unsupported versions. (Matt Jankowski, #2790) * Remove deprecated scaffold that was unintentionally included in 7.0.0 (Jon Rowe, #2791) 7.0.2 (2024-11-09) Bug Fixes: * Fix issue with have_enqueued_mail when jobs were incorrectly matched due to refactoring in #2780. (David Runger, #2793) 7.1.0 (2024-11-09) Enhancements: * Improve implicit description for ActionCable matchers have_broadcasted_to / have_broadcast. (Simon Fish, #2795) * Comment out infer_spec_type_from_file_location! in newly generated rails_helper.rb files. (Jon Rowe, #2804) * Allow turning off active job / mailer argument validation. (Oli Peate, #2808) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.53 2024/09/23 00:33:57 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-7.1.0 @ 1.53 log @devel/ruby-rspec-rails: update to 6.1.5 Update to latest 6.x. 6.1.4 (2024-08-15) Bug Fixes: * Prevent have_http_status matcher raising an error when encountering a raw Rack::MockResponse. (Christophe Bliard, #2771) * Move Rails version conditional from index scaffold generated file to template. (Matt Jankowski, #2777) 6.1.5 (2024-09-02) Bug Fixes: * Restore old order of requiring support files. (Franz Liedke, #2785) * Prevent running rake spec:statsetup on Rails main / 8.0.0. (Petrik de Heus, #2781) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.52 2024/06/30 16:13:40 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-6.1.5 d21 1 a21 1 RUBY_RAILS_ACCEPTED= 61 @ 1.52 log @devel/ruby-rspec-rails: update to 6.1.3 6.1.3 (2024-06-19) Bug Fixes: * Reset ActiveSupport::CurrentAttributes between examples. (Javier Julio, #2752) * Fix a broken link in generated mailer previews. (Chiara Núñez, #2764) * Fix have_status_code behaviour with deprecated status names by delegating to Rack::Utils.status_code/1 to set the expected status code. (Darren Boyd, #2765) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.51 2024/03/24 14:12:51 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-6.1.3 d14 4 a17 4 DEPENDS+= ${RUBY_PKGPREFIX}-rspec-support>=3.12<4:../../devel/ruby-rspec-support DEPENDS+= ${RUBY_PKGPREFIX}-rspec-core>=3.12<4:../../devel/ruby-rspec-core DEPENDS+= ${RUBY_PKGPREFIX}-rspec-expectations>=3.12<4:../../devel/ruby-rspec-expectations DEPENDS+= ${RUBY_PKGPREFIX}-rspec-mocks>=3.12<4:../../devel/ruby-rspec-mocks @ 1.51 log @devel/ruby-rspec-rails: update to 6.1.2 6.1.2 (2024-03-19) Bug Fixes: * Fix generated mailer paths to match Rails convention. (Patrício dos Santos, #2735) * Fix class in template for generator specs. (Nicolas Buduroi, #2744) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.50 2024/02/03 15:38:36 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-6.1.2 @ 1.50 log @devel/ruby-rspec-rails: update to 6.1.1 6.1.1 (2024-01-25) Bug Fixes: * Improved deprecation message for RSpec::Rails::Configuration.fixture_paths (Benoit Tigeot, #2720) * Fix support for namespaced fixtures in Rails 7.1. (Benedikt Deicke, #2716) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.49 2023/11/30 15:47:26 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-6.1.1 @ 1.49 log @devel/ruby-rspec-rails: revert previous commit This package is for ruby-redmine50 and ruby-redmine51, so avoid to build with incompatible version of Rails. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.48 2023/11/30 15:43:07 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-6.1.0 @ 1.48 log @devel/ruby-rspec-rails: allow rails 70 and 71 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.47 2023/06/06 13:47:54 taca Exp $ d21 1 a21 1 RUBY_RAILS_ACCEPTED= 61 70 71 @ 1.47 log @devel/ruby-rspec-rails: update to 6.0.3 6.0.3 (2023-05-31) Bug Fixes: * Set ActiveStorage::FixtureSet.file_fixture_path when including file fixture support. (Jason Yates, #2671) * Allow broadcast_to matcher to take Symbols. (@@Vagab, #2680) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.46 2023/05/06 02:24:15 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-6.0.3 d14 4 a17 4 DEPENDS+= ${RUBY_PKGPREFIX}-rspec-support>=3.11<4:../../devel/ruby-rspec-support DEPENDS+= ${RUBY_PKGPREFIX}-rspec-core>=3.11<4:../../devel/ruby-rspec-core DEPENDS+= ${RUBY_PKGPREFIX}-rspec-expectations>=3.11<4:../../devel/ruby-rspec-expectations DEPENDS+= ${RUBY_PKGPREFIX}-rspec-mocks>=3.11<4:../../devel/ruby-rspec-mocks d21 1 a21 1 RUBY_RAILS_ACCEPTED= 61 @ 1.46 log @devel/ruby-rspec-rails: update to 6.0.2 6.0.2 (2023-05-04) Bug Fixes: * Fix ActionView::PathSet when render_views is off for Rails 7.1. (Eugene Kenny, Iliana, #2631) * Support Rails 7.1's #fixtures_paths in example groups (removes a deprecation warning). (Nicholas Simmons, #2664) * Fix have_enqueued_job to properly detect enqueued jobs when other jobs were performed inside the expectation block. (Slava Kardakov, Phil Pirozhkov, #2573) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.45 2022/11/30 13:55:10 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-6.0.2 @ 1.45 log @devel/ruby-rspec-rails: update to 6.0.1 6.0.0 (2022-10-10) Enhancements: * Support Rails 7 * Template tweaks to remove instance variables from generated specs. (Takuma Ishikawa, #2599) * Generators now respects default path configuration option. (@@vivekmiyani, #2508) Breaking Changes: * Drop support for Rails below 6.1 * Drop support for Ruby below 2.5 (following supported versions of Rails 6.1) * Change the order of after_teardown from after to around in system specs to improve compatibility with extensions and Capybara. (Tim Diggins, #2596) Deprecations: * Deprecates integration spec generator (rspec:integration) which was an alias of request spec generator (rspec:request) (Luka Lüdicke, #2374) 6.0.1 (2022-10-18) Bug Fixes: * Prevent tagged logged support in Rails 7 calling #name. (Jon Rowe, #2625) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.44 2022/08/26 11:22:12 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-6.0.1 @ 1.44 log @devel/ruby-rspec-rails: update to 5.1.2 5.1.2 (2022-04-24) Bug Fixes: * Fix controller scaffold templates parameter name. (Taketo Takashima, #2591) * Include generator specs in the inferred list of specs. (Jason Karns, #2597) 5.1.1 (2022-03-07) Bug Fixes: * Properly handle global id serialised arguments in have_enqueued_mail. (Jon Rowe, #2578) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.43 2022/02/12 13:38:22 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-5.1.2 d14 4 a17 4 DEPENDS+= ${RUBY_PKGPREFIX}-rspec-support>=3.10<4:../../devel/ruby-rspec-support DEPENDS+= ${RUBY_PKGPREFIX}-rspec-core>=3.10<4:../../devel/ruby-rspec-core DEPENDS+= ${RUBY_PKGPREFIX}-rspec-expectations>=3.10<4:../../devel/ruby-rspec-expectations DEPENDS+= ${RUBY_PKGPREFIX}-rspec-mocks>=3.10<4:../../devel/ruby-rspec-mocks d21 1 a21 1 RUBY_RAILS_ACCEPTED= # empty @ 1.43 log @devel/ruby-rspec-rails; update to 5.1.0 5.0.3 (2022-01-26) Bug Fixes: * Properly name params in controller and request spec templates when using the --model-name parameter. (@@kenzo-tanaka, #2534) * Fix parameter matching with mail delivery job and ActionMailer::MailDeliveryJob. (Fabio Napoleoni, #2516, #2546) * Fix Rails 7 have_enqueued_mail compatibility (Mikael Henriksson, #2537, #2546) 5.1.0 (2022-01-26) Enhancements: * Make the API request scaffold template more consistent and compatible with Rails 6.1. (Naoto Hamada, #2484) * Change the scaffold rails_helper.rb template to use require_relative. (Jon Dufresne, #2528) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.42 2021/08/22 14:01:51 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-5.1.0 d21 1 a21 1 RUBY_RAILS_ACCEPTED= # defined @ 1.42 log @devel/ruby-rspec-rails: update to 5.0.2 5.0.2 (2021-08-14) Bug Fixes: * Prevent generated job specs from duplicating _job in filenames. (Nick Flückiger, #2496) * Fix ActiveRecord::TestFixture#uses_transaction by using example description to replace example name rather than example in our monkey patched run_in_transaction? method. (Stan Lo, #2495) * Prevent keyword arguments being lost when methods are invoked dynamically in controller specs. (Josh Cheek, #2509, #2514) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.41 2021/03/21 12:54:20 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-5.0.2 @ 1.41 log @devel/ruby-rspec-rails: update to 5.0.1 5.0.1 / 2021-03-18 Bug Fixes: * Limit multibyte example descriptions when used in system tests for #method_name which ends up as screenshot names etc. (@@y-yagi, #2405, #2487) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.40 2021/03/09 13:58:38 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-5.0.1 @ 1.40 log @devel/ruby-rspec-rails: update to 5.0.0 5.0.0 / 2021-03-09 Enhancements: * Support new #file_fixture_path and new fixture test support code. (Jon Rowe, #2398) * Support for Rails 6.1. (Benoit Tigeot, Jon Rowe, Phil Pirozhkov, and more #2398) Breaking Changes: * Drop support for Rails below 5.2. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.39 2021/03/07 08:33:44 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-5.0.0 @ 1.39 log @devel/ruby-rspec-rails: update to 4.1.0 4.1.0 / 2021-03-06 Enhancements: * Issue a warning when using job matchers with #at mis-match on usec precision. (Jon Rowe, #2350) * Generated request specs now have a bare _spec suffix instead of request_spec. (Eloy Espinaco, Luka Lüdicke, #2355, #2356, #2378) * Generated scaffold now includes engine route helpers when inside a mountable engine. (Andrew W. Lee, #2372) * Improve request spec "controller" scafold when no action is specified. (Thomas Hareau, #2399) * Introduce testing snippets concept (Phil Pirozhkov, Benoit Tigeot, #2423) * Prevent collisions with let(:name) for Rails 6.1 and let(:method_name) on older Rails. (Benoit Tigeot, #2461) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.38 2021/01/11 13:10:33 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-4.1.0 @ 1.38 log @devel/ruby-rspec-rails: update to 4.0.2 ### 4.0.2 / 2020-12-26 [Full Changelog](https://github.com/rspec/rspec-rails/compare/v4.0.1...v4.0.2) Bug Fixes: * Indent all extra failure lines output from system specs. (Alex Robbin, #2321) * Generated request spec for update now uses the correct let. (Paul Hanyzewski, #2344) * Return `true`/`false` from predicate methods in config rather than raw values. (Phil Pirozhkov, Jon Rowe, #2353, #2354) * Remove old #fixture_path feature detection code which broke under newer Rails. (Koen Punt, Jon Rowe, #2370) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.37 2020/05/25 13:51:32 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-4.0.2 d14 4 a17 4 DEPENDS+= ${RUBY_PKGPREFIX}-rspec-support>=3.9<4:../../devel/ruby-rspec-support DEPENDS+= ${RUBY_PKGPREFIX}-rspec-core>=3.9<4:../../devel/ruby-rspec-core DEPENDS+= ${RUBY_PKGPREFIX}-rspec-expectations>=3.9<4:../../devel/ruby-rspec-expectations DEPENDS+= ${RUBY_PKGPREFIX}-rspec-mocks>=3.9<4:../../devel/ruby-rspec-mocks @ 1.37 log @devel/ruby-rspec-rails: update to 4.0.1 Update ruby-rspec-rails to 4.0.1. ### 4.0.1 / 2020-05-16 Bug Fixes: * Remove warning when calling `driven_by` in system specs. (Aubin Lorieux, #2302) * Fix comparison of times for `#at` in job matchers. (Jon Rowe, Markus Doits, #2304) * Allow `have_enqueued_mail` to match when a sub class of `ActionMailer::DeliveryJob` is set using `.delivery_job=`. (Atsushi Yoshida #2305) * Restore Ruby 2.2.x compatibility. (Jon Rowe, #2332) * Add `required_ruby_version` to gem spec. (Marc-André Lafortune, #2319, #2338) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.36 2020/04/27 06:58:35 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-4.0.1 d19 1 a19 1 USE_LANGUAGES= # none @ 1.36 log @devel/ruby-rspec-rails: update to 4.0.0 Update ruby-rspec-rails to 4.0.0. ### 4.0.0.rc1 / 2020-03-13 [Full Changelog](https://github.com/rspec/rspec-rails/compare/v4.0.0.beta4...v4.0.0.rc1) Enhancements: * Allow `ActiveJob` matchers `#on_queue` modifier to take symbolic queue names. (Nils Sommer, #2283) * The scaffold generator now generates request specs in preference to controller specs. (Luka Lüdicke, #2288) * Add configuration option to disable ActiveRecord. (Jon Rowe, Phil Pirozhkov, Hermann Mayer, #2266) * Set `ActionDispatch::SystemTesting::Server.silence_puma = true` when running system specs. (ta1kt0me, Benoit Tigeot, #2289) Bug Fixes: * Restore previous conditional check for setting `default_url_options` in feature specs, prevents a `NoMethodError` in some scenarios. (Eugene Kenny, #2277) * Allow changing `ActiveJob::Base.queue_adapter` inside a system spec. (Jonathan Rochkind, #2242) * `rails generate generator` command now creates related spec file (Joel Azemar, #2217) * Relax upper `capybara` version constraint to allow for Capybara 3.x (Phil Pirozhkov, #2281) * Clear ActionMailer test mailbox after each example (Benoit Tigeot, #2293) ### 4.0.0.beta4 [Full Changelog](https://github.com/rspec/rspec-rails/compare/v4.0.0.beta3...v4.0.0.beta4) Enhancements: * Add argument matcher support to `have_enqueued_*` matchers. (Phil Pirozhkov, #2206) * Switch generated templates to use ruby 1.9 hash keys. (Tanbir Hasan, #2224) * Add `have_been_performed`/`have_performed_job`/`perform_job` ActiveJob matchers (Isaac Seymour, #1785) * Default to generating request specs rather than controller specs when generating a controller (Luka Lüdicke, #2222) Bug Fixes: * Prevent `driven_by(:selenium)` being called due to hook precedence. (Takumi Shotoku, #2188) * Prevent a `WrongScopeError` being thrown during loading fixtures on Rails 6.1 development version. (Edouard Chin, #2215) * Fix Mocha mocking support with `should`. (Phil Pirozhkov, #2256) ### 4.0.0.beta3 [Full Changelog](https://github.com/rspec/rspec-rails/compare/v4.0.0.beta2...v4.0.0.beta3) Enhancements: * Adds support for JRuby on Rails 5.2 and 6 * Add support for parameterised mailers (Ignatius Reza, #2125) * Add ActionMailbox spec helpers and test type (James Dabbs, #2119) * Add ActionCable spec helpers and test type (Vladimir Dementyev, #2113) * Add support for partial args when using `have_enqueued_mail` (Ignatius Reza, #2118, #2125) * Add support for time arguments for `have_enqueued_job` (@@alpaca-tc, #2157) * Improve path parsing in view specs render options. (John Hawthorn, #2115) * Add routing spec template as an option for generating controller specs. (David Revelo, #2134) Bug Fixes: * Replace `before_teardown` as well as `after_teardown` to ensure screenshots are generated correctly. (Jon Rowe, #2164) * `ActionView::FixtureResolver#hash` has been renamed to `ActionView::FixtureResolver#data`. (Penelope Phippen, #2076) * Add missing require for `have_enqueued_mail` matcher. (Ignatius Reza, #2117) ### 4.0.0.beta2 [Full Changelog](https://github.com/rspec/rspec-rails/compare/v4.0.0.beta1...v4.0.0.beta2) Bug Fixes: * Fix version dependencies in gemspec. ### 4.0.0.beta1 [Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.9.0...v4.0.0.beta1) Enhancements: * Adds support for Rails 6. (Penelope Phippen, Benoit Tigeot, Jon Rowe, #2071) Bug Fixes: * `EmptyTemplateHandler.call` now needs to support an additional argument in Rails 6. (Pavel Rosický, #2089) * Suppress warning from `SQLite3Adapter.represent_boolean_as_integer` which is deprecated. (Pavel Rosický, #2092) * `ActionView::Template#formats` has been deprecated and replaced by `ActionView::Template#format`(Seb Jacobs, #2100) Breaking Changes: * Drops support for Rails below 5.0 * Drops support for Ruby below 2.3 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.35 2020/03/20 15:08:57 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-4.0.0 @ 1.35 log @Bump PKGREVISION * Bump PKGREVISION by RUBY_RAILS_DEFAULT change. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.34 2020/03/15 17:03:30 taca Exp $ d3 1 a3 2 DISTNAME= rspec-rails-3.9.1 PKGREVISION= 1 d14 4 a17 4 DEPENDS+= ${RUBY_PKGPREFIX}-rspec-support>=3.9.0<3.10:../../devel/ruby-rspec-support DEPENDS+= ${RUBY_PKGPREFIX}-rspec-core>=3.9.0<3.10:../../devel/ruby-rspec-core DEPENDS+= ${RUBY_PKGPREFIX}-rspec-expectations>=3.9.0<3.10:../../devel/ruby-rspec-expectations DEPENDS+= ${RUBY_PKGPREFIX}-rspec-mocks>=3.9.0<3.10:../../devel/ruby-rspec-mocks @ 1.34 log @devel/ruby-rspec-rails: update to 3.9.1 Update ruby-rspec-rails to 3.9.1. ### 3.9.1 / 2020-03-10 [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.9.0...v3.9.1) Bug Fixes: * Add missing require for have_enqueued_mail matcher. (Ignatius Reza, #2117) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.33 2019/11/02 14:41:08 taca Exp $ d4 1 @ 1.33 log @devel/ruby-rspec-rails: update to 3.9.0 Update ruby-rspec-rails to 3.9.0. pkgsr change: Add "USE_LANGUAGES= # none". ### 3.9.0 / 2019-10-08 [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.8.2...v3.9.0) Enhancements * Use `__dir__` instead of `__FILE__` in generated `rails_helper.rb` where supported. (OKURA Masafumi, #2048) * Add `have_enqueued` matcher as a "super" matcher to the `ActiveJob` matchers making it easier to match on `ActiveJob` delivered emails. (Joel Lubrano, #2047) * Add generator for system specs on Rails 5.1 and above. (Andrzej Sliwa, #1933) * Add generator for generator specs. (@@ConSou, #2085) * Add option to generate routes when generating controller specs. (David Revelo, #2134) Bug Fixes: * Make the `ActiveJob` matchers fail when multiple jobs are queued for negated matches. e.g. `expect { job; job; }.to_not have_enqueued_job. (Emric Istanful, #2069) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.32 2019/02/06 15:16:52 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-3.9.0 @ 1.32 log @devel/ruby-rspec-rails: update to 3.8.2 ### 3.8.2 / 2019-01-13 [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.8.1...v3.8.2) Bug Fixes: * Fix issue with generator for preview specs where `Mailer` would be duplicated in the name. (Kohei Sugi, #2037) * Fix the request spec generator to handle namespaced files. (Kohei Sugi, #2057) * Further truncate system test filenames to handle cases when extra words are prepended. (Takumi Kaji, #2058) * Backport: Make the `ActiveJob` matchers fail when multiple jobs are queued for negated matches. e.g. `expect { job; job; }.to_not have_enqueued_job (Emric Istanful, #2069) ### 3.8.1 / 2018-10-23 [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.8.0...v3.8.1) Bug Fixes: * Fix `NoMethodError: undefined method 'strip'` when using a `Pathname` object as the fixture file path. (Aaron Kromer, #2026) * When generating feature specs, do not duplicate namespace in the path name. (Laura Paakkinen, #2034) * Prevent `ActiveJob::DeserializationError` from being issued when `ActiveJob` matchers de-serialize arguments. (@@aymeric-ledorze, #2036) ### 3.8.0 / 2018-08-04 [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.7.2...v3.8.0) Enhancements: * Improved message when migrations are pending in the default `rails_helper.rb` (Koichi ITO, #1924) * `have_http_status` matcher now supports Rails 5.2 style response symbols (Douglas Lovell, #1951) * Change generated Rails helper to match Rails standards for Rails.root (Alessandro Rodi, #1960) * At support for asserting enqueued jobs have no wait period attached. (Brad Charna, #1977) * Cache instances of `ActionView::Template` used in `stub_template` resulting in increased performance due to less allocations and setup. (Simon Coffey, #1979) * Rails scaffold generator now respects longer namespaces (e.g. api/v1/\). (Laura Paakkinen, #1958) Bug Fixes: * Escape quotation characters when producing method names for system spec screenshots. (Shane Cavanaugh, #1955) * Use relative path for resolving fixtures when `fixture_path` is not set. (Laurent Cobos, #1943) * Allow custom template resolvers in view specs. (@@ahorek, #1941) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.31 2018/03/18 14:21:21 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-3.8.2 d14 4 a17 4 DEPENDS+= ${RUBY_PKGPREFIX}-rspec-support>=3.8.0<3.9:../../devel/ruby-rspec-support DEPENDS+= ${RUBY_PKGPREFIX}-rspec-core>=3.8.0<3.9:../../devel/ruby-rspec-core DEPENDS+= ${RUBY_PKGPREFIX}-rspec-expectations>=3.8.0<3.9:../../devel/ruby-rspec-expectations DEPENDS+= ${RUBY_PKGPREFIX}-rspec-mocks>=3.8.0<3.9:../../devel/ruby-rspec-mocks d19 3 a21 1 RUBY_RAILS_ACCEPTED= @ 1.31 log @lang/ruby: replace RUBY_RAILS_SUPPORTED to RUBY_RAILS_ACCEPTED Change RUBY_RAILS_SUPPORTED to RUBY_RAILS_ACCEPTED for better wording. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.30 2018/03/14 14:23:28 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-3.7.2 d14 4 a17 4 DEPENDS+= ${RUBY_PKGPREFIX}-rspec-support>=3.7.0<3.8:../../devel/ruby-rspec-support DEPENDS+= ${RUBY_PKGPREFIX}-rspec-core>=3.7.0<3.8:../../devel/ruby-rspec-core DEPENDS+= ${RUBY_PKGPREFIX}-rspec-expectations>=3.7.0<3.8:../../devel/ruby-rspec-expectations DEPENDS+= ${RUBY_PKGPREFIX}-rspec-mocks>=3.7.0<3.8:../../devel/ruby-rspec-mocks @ 1.30 log @devel/ruby-rspec-rails: update to 3.7.2 ### 3.7.2 / 2017-11-20 [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.7.1...v3.7.2) Bug Fixes: * Delay loading system test integration until used. (Jon Rowe, #1903) * Ensure specs using the aggregate failures feature take screenshots on failure. (Matt Brictson, #1907) ### 3.7.1 / 2017-10-18 [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.7.0...v3.7.1) Bug Fixes: * Prevent system test integration loading when puma or capybara are missing (Sam Phippen, #1884) ### 3.7.0 / 2017-10-17 [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.6.0...v3.7.0) Bug Fixes: * Prevent "template not rendered" log message from erroring in threaded environments. (Samuel Cochran, #1831) * Correctly generate job name in error message. (Wojciech Wnętrzak, #1814) Enhancements: * Allow `be_a_new(...).with(...)` matcher to accept matchers for attribute values. (Britni Alexander, #1811) * Only configure RSpec Mocks if it is fully loaded. (James Adam, #1856) * Integrate with `ActionDispatch::SystemTestCase`. (Sam Phippen, #1813) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.29 2017/09/04 18:08:23 wiz Exp $ d19 1 a19 1 RUBY_RAILS_SUPPORTED= @ 1.29 log @Follow some redirects. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.28 2017/08/31 15:21:32 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-3.6.1 d14 4 a17 4 DEPENDS+= ${RUBY_PKGPREFIX}-rspec-support>=3.6.0<3.7:../../devel/ruby-rspec-support DEPENDS+= ${RUBY_PKGPREFIX}-rspec-core>=3.6.0<3.7:../../devel/ruby-rspec-core DEPENDS+= ${RUBY_PKGPREFIX}-rspec-expectations>=3.6.0<3.7:../../devel/ruby-rspec-expectations DEPENDS+= ${RUBY_PKGPREFIX}-rspec-mocks>=3.6.0<3.7:../../devel/ruby-rspec-mocks @ 1.28 log @Update ruby-rspec-rails to 3.6.1. ### 3.6.1 / 2017-07-25 [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.6.0...v3.6.1) Bug Fixes: * Prevent "template not rendered" log message from erroring in threaded environments. (Samuel Cochran, #1831) * Correctly generate job name in error message. (Wojciech Wnętrzak, #1814) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.27 2017/06/21 15:42:10 taca Exp $ d7 1 a7 1 HOMEPAGE= http://relishapp.com/rspec @ 1.27 log @Bump revision due to change of PKGPATH of depending rails components' packages. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.26 2017/06/05 14:08:17 taca Exp $ d3 1 a3 2 DISTNAME= rspec-rails-3.6.0 PKGREVISION= 1 @ 1.26 log @Update ruby-rspec-railsto 3.6.0. ### 3.6.0 / 2017-05-04 [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.6.0.beta2...v3.6.0) Enhancements: * Add compatibility for Rails 5.1. (Sam Phippen, Yuichiro Kaneko, #1790) Bug Fixes: * Fix scaffold generator so that it does not generate broken controller specs on Rails 3.x and 4.x. (Yuji Nakayama, #1710) ### 3.6.0.beta2 / 2016-12-12 [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.6.0.beta1...v3.6.0.beta2) Enhancements: * Improve failure output of ActiveJob matchers by listing queued jobs. (Wojciech Wnętrzak, #1722) * Load `spec_helper.rb` earlier in `rails_helper.rb` by default. (Kevin Glowacz, #1795) ### 3.6.0.beta1 / 2016-10-09 [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.5.2...v3.6.0.beta1) Enhancements: * Add support for `rake notes` in Rails `>= 5.1`. (John Meehan, #1661) * Remove `assigns` and `assert_template` from scaffold spec generators (Josh Justice, #1689) * Add support for generating scaffolds for api app specs. (Krzysztof Zych, #1685) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.25 2016/10/09 15:06:30 taca Exp $ d4 1 @ 1.25 log @Update ruby-rspec-rails to 3.5.2. ### 3.5.2 [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.5.1...v3.5.2) Bug Fixes: * Stop unnecessarily loading `rspec/core` from `rspec/rails` to avoid IRB context warning. (Myron Marston, #1678) * Deserialize arguments within ActiveJob matchers correctly. (Wojciech Wnętrzak, #1684) ### 3.5.1 / 2016-07-08 [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.5.0...v3.5.1) Bugfixes: * Only attempt to load `ActionDispatch::IntegrationTest::Behavior` on Rails 5, and above; Prevents possible `TypeError` when an existing `Behaviour` class is defined. (#1660, Betesh). ### 3.5.0 / 2016-07-01 [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.5.0.beta4...v3.5.0) **No user facing changes since beta4** ### 3.5.0.beta4 / 2016-06-05 [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.5.0.beta3...v3.5.0.beta4) Enhancements: * Add support for block when using `with` on `have_enqueued_job`. (John Schroeder, #1578) * Add support for `file_fixture(...)`. (Wojciech Wnętrzak, #1587) * Add support for `setup` and `teardown` with blocks (Miklós Fazekas, #1598) * Add `enqueue_job ` alias for `have_enqueued_job`, support `once`/`twice`/ `thrice`, add `have_been_enqueued` matcher to support use without blocks. (Sergey Alexandrovich, #1613) Bug fixes: * Prevent asset helpers from taking precendence over route helpers. (Prem Sichanugrist, #1496) * Prevent `NoMethodError` during failed `have_rendered` assertions on weird templates. (Jon Rowe, #1623). ### 3.5.0.beta3 / 2016-04-02 [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.5.0.beta2...v3.5.0.beta3) Enhancements: * Add support for Rails 5 Beta 3 (Sam Phippen, Benjamin Quorning, Koen Punt, #1589, #1573) Bug fixes: * Support custom resolvers when preventing views from rendering. (Jon Rowe, Benjamin Quorning, #1580) ### 3.5.0.beta2 / 2016-03-10 [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.5.0.beta1...v3.5.0.beta2) Enhancements: * Include `ActionDispatch::IntegrationTest::Behavior` in request spec example groups when on Rails 5, allowing integration test helpers to be used in request specs. (Scott Bronson, #1560) Bug fixes: * Make it possible to use floats in auto generated (scaffold) tests. (Alwahsh, #1550) ### 3.5.0.beta1 / 2016-02-06 [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.4.2...v3.5.0.beta1) Enhancements: * Add a `--singularize` option for the feature spec generator (Felicity McCabe, #1503) * Prevent leaking TestUnit methods in Rails 4+ (Fernando Seror Garcia, #1512) * Add support for Rails 5 (Sam Phippen, #1492) Bug fixes: * Make it possible to write nested specs within helper specs on classes that are internal to helper classes. (Sam Phippen, Peter Swan, #1499). * Warn if a fixture method is called from a `before(:context)` block, instead of crashing with a `undefined method for nil:NilClass`. (Sam Phippen, #1501) * Expose path to view specs (Ryan Clark, Sarah Mei, Sam Phippen, #1402) * Prevent installing Rails 3.2.22.1 on Ruby 1.8.7. (Jon Rowe, #1540) * Raise a clear error when `have_enqueued_job` is used with non-test adapter. (Wojciech Wnętrzak, #1489) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2016/02/16 16:02:35 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-3.5.2 d14 4 a17 4 DEPENDS+= ${RUBY_PKGPREFIX}-rspec-support>=3.5.0<3.6:../../devel/ruby-rspec-support DEPENDS+= ${RUBY_PKGPREFIX}-rspec-core>=3.5.0<3.6:../../devel/ruby-rspec-core DEPENDS+= ${RUBY_PKGPREFIX}-rspec-expectations>=3.5.0<3.6:../../devel/ruby-rspec-expectations DEPENDS+= ${RUBY_PKGPREFIX}-rspec-mocks>=3.5.0<3.6:../../devel/ruby-rspec-mocks @ 1.24 log @Update ruby-rspec-rails to 3.4.2. ### 3.4.2 / 2016-02-02 [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.4.1...v3.4.2) Bug fixes: * Cache template resolvers during path lookup to prevent performance regression from #1535. (Andrew White, #1544) ### 3.4.1 / 2016-01-25 [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.4.0...v3.4.1) Bug Fixes: * Fix no method error when rendering templates with explicit `:file` parameters for Rails version `4.2.5.1`. (Andrew White, Sam Phippen, #1535) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2015/11/29 14:59:13 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-3.4.2 d14 4 a17 4 DEPENDS+= ${RUBY_PKGPREFIX}-rspec-support>=3.4.0<3.5:../../devel/ruby-rspec-support DEPENDS+= ${RUBY_PKGPREFIX}-rspec-core>=3.4.0<3.5:../../devel/ruby-rspec-core DEPENDS+= ${RUBY_PKGPREFIX}-rspec-expectations>=3.4.0<3.5:../../devel/ruby-rspec-expectations DEPENDS+= ${RUBY_PKGPREFIX}-rspec-mocks>=3.4.0<3.5:../../devel/ruby-rspec-mocks @ 1.23 log @Update ruby-rspec-rails to 3.4.0. ### 3.4.0 / 2015-11-11 [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.3.3...v3.4.0) Enhancements: * Improved the failure message for `have_rendered` matcher on a redirect response. (Alex Egan, #1440) * Add configuration option to filter out Rails gems from backtraces. (Bradley Schaefer, #1458) * Enable resolver cache for view specs for a large speed improvement (Chris Zetter, #1452) * Add `have_enqueued_job` matcher for checking if a block has queued jobs. (Wojciech Wnętrzak, #1464) Bug Fixes: * Fix another load order issued which causes an undefined method `fixture_path` error when loading rspec-rails after a spec has been created. (Nikki Murray, #1430) * Removed incorrect surrounding whitespace in the rspec-rails backtrace exclusion pattern for its own `lib` code. (Jam Black, #1439) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2015/09/13 11:56:42 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-3.4.0 @ 1.22 log @Update ruby-rspec-rails to 3.3.3. ### 3.3.3 / 2015-07-15 [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.3.2...v3.3.3) Bug Fixes: * Fix issue with generators caused by `Rails.configuration.hidden_namespaces` including symbols. (Dan Kohn, #1414) ### 3.3.2 / 2015-06-18 [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.3.1...v3.3.2) Bug Fixes: * Fix regression that caused stubbing abstract ActiveRecord model classes to trigger internal errors in rails due the the verifying double lifecycle wrongly calling `define_attribute_methods` on the abstract AR class. (Jon Rowe, #1396) ### 3.3.1 / 2015-06-14 [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.3.0...v3.3.1) Bug Fixes: * Fix regression that caused stubbing ActiveRecord model classes to trigger internal errors in rails. (Myron Marston, Aaron Kromer, #1395) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2015/06/14 13:14:15 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-3.3.3 d14 4 a17 4 DEPENDS+= ${RUBY_PKGPREFIX}-rspec-support>=3.3.0<3.4:../../devel/ruby-rspec-support DEPENDS+= ${RUBY_PKGPREFIX}-rspec-core>=3.3.0<3.4:../../devel/ruby-rspec-core DEPENDS+= ${RUBY_PKGPREFIX}-rspec-expectations>=3.3.0<3.4:../../devel/ruby-rspec-expectations DEPENDS+= ${RUBY_PKGPREFIX}-rspec-mocks>=3.3.0<3.4:../../devel/ruby-rspec-mocks @ 1.21 log @Update ruby-rspec-rails to 3.3.1. ### 3.3.1 / 2015-06-14 [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.3.0...v3.3.1) Bug Fixes: * Fix regression that caused stubbing ActiveRecord model classes to trigger internal errors in rails. (Myron Marston, Aaron Kromer, #1395) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2015/06/13 00:01:37 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-3.3.1 @ 1.20 log @Update ruby-rspec-rails to 3.3.0. ### 3.3.0 / 2015-06-12 [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.2.3...v3.3.0) Enhancements: * Add support for PATCH to route specs created via scaffold. (Igor Zubkov, #1336) * Improve controller and routing spec calls to `routes` by using `yield` instead of `call`. (Anton Davydov, #1308) * Add support for `ActiveJob` specs as standard `RSpec::Rails::RailsExampleGoup`s via both `:type => :job` and inferring type from spec directory `spec/jobs`. (Gabe Martin-Dempesy, #1361) * Include `RSpec::Rails::FixtureSupport` into example groups using metadata `:use_fixtures => true`. (Aaron Kromer, #1372) * Include `rspec:request` generator for generating request specs; this is an alias of `rspec:integration` (Aaron Kromer, #1378) * Update `rails_helper` generator with a default check to abort the spec run when the Rails environment is production. (Aaron Kromer, #1383) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2015/06/07 04:17:39 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-3.3.0 @ 1.19 log @Update ruby-rspec-rails to 3.2.3. ### 3.2.3 / 2015-06-06 [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.2.2...v3.2.3) Bug Fixes: * Fix regression with the railtie resulting in undefined method `preview_path=` on Rails 3.x and 4.0 (Aaron Kromer, #1388) ### 3.2.2 / 2015-06-03 [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.2.1...v3.2.2) Bug Fixes: * Fix auto-including of generic `Helper` object for view specs sitting in the `app/views` root (David Daniell, #1289) * Remove pre-loading of ActionMailer in the Railtie (Aaron Kromer, #1327) * Fix undefined method `need_auto_run=` error when using Ruby 2.1 and Rails 3.2 without the test-unit gem (Orien Madgwick, #1350) * Fix load order issued which causes an undefined method `fixture_path` error when loading rspec-rails after a spec has been created. (Aaron Kromer, #1372) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2015/03/13 13:49:03 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-3.2.3 d14 4 a17 4 DEPENDS+= ${RUBY_PKGPREFIX}-rspec-support>=3.2.0<3.3:../../devel/ruby-rspec-support DEPENDS+= ${RUBY_PKGPREFIX}-rspec-core>=3.2.0<3.3:../../devel/ruby-rspec-core DEPENDS+= ${RUBY_PKGPREFIX}-rspec-expectations>=3.2.0<3.3:../../devel/ruby-rspec-expectations DEPENDS+= ${RUBY_PKGPREFIX}-rspec-mocks>=3.2.0<3.3:../../devel/ruby-rspec-mocks @ 1.18 log @Update ruby-rspec-rails to 3.2.1. ### 3.2.1 / 2015-02-23 [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.2.0...v3.2.1) Bug Fixes: * Add missing `require` to RSpec generator root fixing an issue where Rail's autoload does not find it in some environments. (Aaron Kromer, #1305) * `be_routable` matcher now has the correct description. (Tony Ta, #1310) * Fix dependency to allow Rails 4.2.x patches / pre-releases (Lucas Mazza, #1318) * Disable the `test-unit` gem's autorunner on projects running Rails < 4.1 and Ruby < 2.2 (Aaron Kromer, #1320) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2015/02/07 14:44:08 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-3.2.1 @ 1.17 log @Update ruby-rspec-rails to 3.2.0. ### 3.2.0 / 2015-02-03 [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.1.0...v3.2.0) Enhancements: * Include generator for `ActionMailer` mailer previews (Takashi Nakagawa, #1185) * Configure the `ActionMailer` preview path via a Railtie (Aaron Kromer, #1236) * Show all RSpec generators when running `rails generate` (Eliot Sykes, #1248) * Support Ruby 2.2 with Rails 3.2 and 4.x (Aaron Kromer, #1264, #1277) * Improve `instance_double` to support verifying dynamic column methods defined by `ActiveRecord` (Jon Rowe, #1238) * Mirror the use of Ruby 1.9 hash syntax for the `type` tags in the spec generators on Rails 4. (Michael Stock, #1292) Bug Fixes: * Fix `rspec:feature` generator to use `RSpec` namespace preventing errors when monkey-patching is disabled. (Rebecca Skinner, #1231) * Fix `NoMethodError` caused by calling `RSpec.feature` when Capybara is not available or the Capybara version is < 2.4.0. (Aaron Kromer, #1261) * Fix `ArgumentError` when using an anonymous controller which inherits an outer group's anonymous controller. (Yuji Nakayama, #1260) * Fix "Test is not a class (TypeError)" error when using a custom `Test` class in Rails 4.1 and 4.2. (Aaron Kromer, #1295) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2015/02/02 14:29:40 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-3.2.0 @ 1.16 log @Update ruby-rspec-rails to 3.1.0. Changes from 2.14.1 is too many to write here, please refer Changelog. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2014/03/14 16:43:43 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-3.1.0 d14 4 a17 4 DEPENDS+= ${RUBY_PKGPREFIX}-rspec-support>=3.1.0.0<3.2:../../devel/ruby-rspec-support DEPENDS+= ${RUBY_PKGPREFIX}-rspec-core>=3.1.0.0<3.2:../../devel/ruby-rspec-core DEPENDS+= ${RUBY_PKGPREFIX}-rspec-expectations>=3.1.0.0<3.2:../../devel/ruby-rspec-expectations DEPENDS+= ${RUBY_PKGPREFIX}-rspec-mocks>=3.1.0.0<3.2:../../devel/ruby-rspec-mocks @ 1.15 log @Update ruby-rspec-rails to 2.14.1. ### 2.14.1 / 2013-12-29 [full changelog](http://github.com/rspec/rspec-rails/compare/v2.14.0...v2.14.1) Bug fixes * Fixes "warning: instance variable @@orig\_routes not initialized" raised by controller specs when `--warnings` are enabled. (Andy Lindeman) * Where possible, check against the version of ActiveRecord, rather than Rails. It is possible to use some of rspec-rails without all of Rails. (Darryl Pogue) * Supports Rails 4.1 and Minitest 5. (Patrick Van Stee, Andy Lindeman) * Explicitly depends on `activemodel`. This allows libraries that do not bring in all of `rails` to use `rspec-rails`. (John Firebaugh) * Use `__send__` rather than `send` to prevent naming collisions (Bradley Schaefer) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2013/09/15 10:17:31 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-2.14.1 d14 4 a17 3 DEPENDS+= ${RUBY_PKGPREFIX}-rspec-core>=2.14.0<2.15:../../devel/ruby-rspec-core DEPENDS+= ${RUBY_PKGPREFIX}-rspec-expectations>=2.14.0<2.15:../../devel/ruby-rspec-expectations DEPENDS+= ${RUBY_PKGPREFIX}-rspec-mocks>=2.14.0<2.15:../../devel/ruby-rspec-mocks @ 1.14 log @Update ruby-rspec-rails to 2.14.0. ### 2.14.0 / 2013-07-06 [full changelog](http://github.com/rspec/rspec-rails/compare/v2.14.0.rc1...v2.14.0) Bug fixes * Rake tasks do not define methods that might interact with other libraries. (Fujimura Daisuke) * Reverts fix for out-of-order `let` definitions in controller specs after the issue was fixed upstream in rspec-core. (Andy Lindeman) * Fixes deprecation warning when using `expect(Model).to have(n).records` with Rails 4. (Andy Lindeman) ### 2.14.0.rc1 / 2013-05-27 [full changelog](http://github.com/rspec/rspec-rails/compare/v2.13.2...v2.14.0.rc1) Enhancements * Prelimiarily support Rails 4.1 by updating adapters to support Minitest 5.0. (Andy Lindeman) Bug fixes * `rake stats` runs correctly when spec files exist at the top level of the spec/ directory. (Benjamin Fleischer) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2013/06/16 16:31:05 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-2.14.0 @ 1.13 log @Update ruby-rspec-rails to 2.13.2. ### 2.13.2 / 2013-05-18 [full changelog](http://github.com/rspec/rspec-rails/compare/v2.13.1...v2.13.2) Bug fixes * `let` definitions may override methods defined in modules brought in via `config.include` in controller specs. Fixes regression introduced in 2.13. (Andy Lindeman, Jon Rowe) * Code that checks Rails version numbers is more robust in cases where Rails is not fully loaded. (Andy Lindeman) ### 2.13.1 / 2013-04-27 [full changelog](http://github.com/rspec/rspec-rails/compare/v2.13.0...v2.13.1) Bug fixes * View specs are no longer generated if no template engine is specified (Kevin Glowacz) * `ActionController::Base.allow_forgery_protection` is set to its original value after each example. (Mark Dimas) * `patch` is supported in routing specs. (Chris Your) * Routing assertions are supported in controller specs in Rails 4. (Andy Lindeman) * Fix spacing in the install generator template (Taiki ONO) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2013/04/06 03:45:12 rodent Exp $ d3 1 a3 1 DISTNAME= rspec-rails-2.13.2 d14 3 a16 3 DEPENDS+= ${RUBY_PKGPREFIX}-rspec-core>=2.13.0<2.14:../../devel/ruby-rspec-core DEPENDS+= ${RUBY_PKGPREFIX}-rspec-expectations>=2.13.0<2.14:../../devel/ruby-rspec-expectations DEPENDS+= ${RUBY_PKGPREFIX}-rspec-mocks>=2.13.0<2.14:../../devel/ruby-rspec-mocks @ 1.12 log @Fixes: COMMENT should not be longer than 70 characters. COMMENT should not begin with 'A'. COMMENT should not begin with 'An'. COMMENT should not begin with 'a'. COMMENT should not end with a period. COMMENT should start with a capital letter. pkglint warnings. Some files also got minor formatting, spelling, and style corrections. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2013/03/11 07:50:31 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-2.13.0 @ 1.11 log @Update ruby-rspec-rails to 2.13.0. ### 2.13.0 / 2013-02-23 [full changelog](http://github.com/rspec/rspec-rails/compare/v2.12.2...v2.13.0) Enhancements * `be_valid` matcher includes validation error messages. (Tom Scott) * Adds cucumber scenario showing how to invoke an anonymous controller's non-resourceful actions. (Paulo Luis Franchini Casaretto) * Null template handler is used when views are stubbed. (Daniel Schierbeck) * The generated `spec_helper.rb` in Rails 4 includes a check for pending migrations. (Andy Lindeman) * Adds `rake spec:features` task. (itzki) * Rake tasks are automatically generated for each spec/ directory. (Rudolf Schmidt) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2013/01/14 06:12:41 taca Exp $ d8 1 a8 1 COMMENT= A test-double framework for rspec @ 1.10 log @Update ruby-rspec-rails to 2.12.2. ### 2.12.2 / 2013-01-12 [full changelog](http://github.com/rspec/rspec-rails/compare/v2.12.1...v2.12.2) Bug fixes * Reverts earlier fix where anonymous controllers defined the `_routes` method to support testing of redirection and generation of URLs from other contexts. The implementation ended up breaking the ability to refer to non-anonymous routes in the context of the controller under test. ### 2.12.1 / 2013-01-07 [full changelog](http://github.com/rspec/rspec-rails/compare/v2.12.0...master) Bug fixes * Operates correctly when ActiveRecord is only partially loaded (e.g., with older versions of Mongoid). (Eric Marden) * `expect(subject).to have(...).errors_on` operates correctly for ActiveResource models where `valid?` does not accept an argument. (Yi Wen) * Rails 4 support for routing specs. (Andy Lindeman) * Rails 4 support for `ActiveRecord::Relation` and the `=~` operator matcher. (Andy Lindeman) * Anonymous controllers define `_routes` to support testing of redirection and generation of URLs from other contexts. (Andy Lindeman) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2013/01/12 09:17:48 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-2.12.2 d14 3 a16 3 DEPENDS+= ${RUBY_PKGPREFIX}-rspec-core>=2.12.0<2.13:../../devel/ruby-rspec-core DEPENDS+= ${RUBY_PKGPREFIX}-rspec-expectations>=2.12.0<2.13:../../devel/ruby-rspec-expectations DEPENDS+= ${RUBY_PKGPREFIX}-rspec-mocks>=2.12.0<2.13:../../devel/ruby-rspec-mocks @ 1.9 log @Update ruby-rspec-rails to 2.12.1. ### 2.12.1 / 2013-01-07 [full changelog](http://github.com/rspec/rspec-rails/compare/v2.12.0...master) Bug fixes * Operates correctly when ActiveRecord is only partially loaded (e.g., with older versions of Mongoid). (Eric Marden) * `expect(subject).to have(...).errors_on` operates correctly for ActiveResource models where `valid?` does not accept an argument. (Yi Wen) * Rails 4 support for routing specs. (Andy Lindeman) * Rails 4 support for `ActiveRecord::Relation` and the `=~` operator matcher. (Andy Lindeman) * Anonymous controllers define `_routes` to support testing of redirection and generation of URLs from other contexts. (Andy Lindeman) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2012/12/16 16:46:14 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-2.12.1 @ 1.8 log @Update ruby-rspec-rails to 2.12.0. ### 2.12.0 / 2012-11-12 [full changelog](http://github.com/rspec/rspec-rails/compare/v2.11.4...2.12.0) Enhancements * Support validation contexts when using `#errors_on` (Woody Peterson) * Include RequestExampleGroup in groups in spec/api Bug fixes * Add `should` and `should_not` to `CollectionProxy` (Rails 3.1+) and `AssociationProxy` (Rails 3.0). (Myron Marston) * `controller.controller_path` is set correctly for view specs in Rails 3.1+. (Andy Lindeman) * Generated specs support module namespacing (e.g., in a Rails engine). (Andy Lindeman) * `render` properly infers the view to be rendered in Rails 3.0 and 3.1 (John Firebaugh) * AutoTest mappings involving config/ work correctly (Brent J. Nordquist) * Failures message for `be_new_record` are more useful (Andy Lindeman) ### 2.11.4 / 2012-10-14 [full changelog](http://github.com/rspec/rspec-rails/compare/v2.11.0...v2.11.4) Capybara-2.0 integration support: * include RailsExampleGroup in spec/features (necessary when there is no AR) * include Capybara::DSL and Capybara::RSpecMatchers in spec/features See [https://github.com/jnicklas/capybara/pull/809](https://github.com/jnicklas/capybara/pull/809) and [http://rubydoc.info/gems/rspec-rails/file/Capybara.md](http://rubydoc.info/gems/rspec-rails/file/Capybara.md) for background. 2.11.1, .2, .3 were yanked due to errant documentation. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2012/09/04 14:52:19 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-2.12.0 @ 1.7 log @Update ruby-rspec-rails to 2.11.0. 2.11.0 / 2012-07-07 full changelog Enhancements * The generated spec/spec_helper.rb sets config.order = "random" so that specs run in random order by default. * rename render_template to have_rendered (and alias to render_template for backward compatibility) Bug fixes * "uninitialized constant" errors are avoided when using using gems like rspec-rails-uncommitted that define Rspec::Rails before rspec-rails loads (Andy Lindeman) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2012/06/02 00:48:42 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-2.11.0 d14 3 a16 1 DEPENDS+= ${RUBY_PKGPREFIX}-rspec>=2.11.0<2.12:../../devel/ruby-rspec @ 1.6 log @Update ruby-rspec-rails to 2.10.1. ### 2.10.1 / 2012-05-03 [full changelog](http://github.com/rspec/rspec-rails/compare/v2.10.0...v2.10.1) Bug fixes * fix regression introduced in 2.10.0 that broke integration with Devise (https://github.com/rspec/rspec-rails/issues/534) ### 2.10.0 / 2012-05-03 [full changelog](http://github.com/rspec/rspec-rails/compare/v2.9.0...v2.10.0) Bug fixes * `render_views` called in a spec can now override the config setting. (martinsvalin) * Fix `render_views` for anonymous controllers on 1.8.7. (hudge, mudge) * Eliminate use of deprecated `process_view_paths` * Fix false negatives when using `route_to` matcher with `should_not` * `controller` is no longer nil in `config.before` hooks * Change `request.path_parameters` keys to symbols to match real Rails environment (Nathan Broadbent) * Silence deprecation warnings in pre-2.9 generated view specs (Jonathan del Strother) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2012/03/20 13:42:34 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-2.10.1 d14 1 a14 1 DEPENDS+= ${RUBY_PKGPREFIX}-rspec>=2.10.0<2.11:../../devel/ruby-rspec @ 1.5 log @Update ruby-rspec-rails to 2.9.0. Remove restriction for version of Ruby on Rails. ### 2.9.0 / 2012-03-17 [full changelog](http://github.com/rspec/rspec-rails/compare/v2.8.1...v2.9.0) Enhancments * add description method to RouteToMatcher (John Wulff) * Run "db:test:clone_structure" instead of "db:test:prepare" if Active Record's schema format is ":sql". (Andrey Voronkov) Bug fixes * mock_model(XXX).as_null_object.unknown_method returns self again * Generated view specs use different IDs for each attribute. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2012/03/17 15:08:56 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-2.9.0 d14 1 a14 1 DEPENDS+= ${RUBY_PKGPREFIX}-rspec>=2.9.0<2.10:../../devel/ruby-rspec @ 1.4 log @Update ruby-rspec-rails package to 2.8.1. 2.8.1 / 2012-01-04 full changelog NOTE: there was a change in rails-3.2.0.rc2 which broke compatibility with stub_model in rspec-rails. This release fixes that issue, but it means that you'll have to upgrade to rspec-rails-2.8.1 when you upgrade to rails >= 3.2.0.rc2. * Bug fixes - Explicitly stub valid? in stubmodel. Fixes stubmodel for rails versions >= 3.2.0.rc2. 2.8.0 / 2012-01-04 full changelog * Enhancements - Eliminate deprecation warnings in generated view specs in Rails 3.2 - Ensure namespaced helpers are included automatically (Evgeniy Dolzhenko) - Added cuke scenario documenting which routes are generated for anonymous controllers (Alan Shields) 2.8.0.rc2 / 2011-12-19 full changelog * Enhancements - Add session hash to generated controller specs (Thiago Almeida) - Eliminate deprecation warnings about InstanceMethods modules in Rails 3.2 * Bug fixes - Stub attribute accessor after respond_to? call on mocked model (Igor Afonov) 2.8.0.rc1 / 2011-11-06 full changelog * Enhancements - Removed unnecessary "config.mockwith :rspec" from spechelper.rb (Paul Annesley) * Changes - No API changes for rspec-rails in this release, but some internals changed to align with rspec-core-2.8 * rspec-core * rspec-expectations * rspec-mocks @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2011/12/16 15:58:44 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-2.8.1 d14 1 a14 1 DEPENDS+= ${RUBY_PKGPREFIX}-rspec>=2.8.0<2.9:../../devel/ruby-rspec d16 1 a16 1 RUBY_RAILS_SUPPORTED= 3 31 # 32 @ 1.3 log @Update ruby-rspec-rails package to 2.7.0. Exact changes are unknown. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2011/12/13 15:55:20 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-2.7.0 d14 1 a14 1 DEPENDS+= ${RUBY_PKGPREFIX}-rspec>=2.7.0<2.8:../../devel/ruby-rspec d16 1 a16 1 RUBY_RAILS_SUPPORTED= 3 31 @ 1.2 log @Switch to use RUBY_RAILS_SUPPORTED and allow 31 here. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.1.1 2011/06/18 04:03:39 taca Exp $ d3 1 a3 1 DISTNAME= rspec-rails-2.6.1 d14 1 a14 1 DEPENDS+= ${RUBY_PKGPREFIX}-rspec>=2.6.0<2.7:../../devel/ruby-rspec @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ d16 1 a16 1 RUBY_RAILS= 3 @ 1.1.1.1 log @Importing rspec-rails version 2.6.1, it is for Ruby on Rails 3. # rspec-rails-2 rspec-2 for rails-3 with lightweight extensions to each NOTE: rspec-2 does _not_ support rails-2. Use rspec-rails-1.3.x for rails-2. ## Documentation * [Cucumber features](http://relishapp.com/rspec/rspec-rails/v/2-0) * [RDoc](http://rubydoc.info/gems/rspec-rails/2.0.1/frames) @ text @@