mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-ruby/rspec-rails: avoid tests requiring a network
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
@@ -53,6 +53,9 @@ all_ruby_prepare() {
|
||||
# Avoid broken controller generator specs for now.
|
||||
rm -fr spec/generators/rspec || die
|
||||
|
||||
# Avoid test depending on a network.
|
||||
rm -f spec/rspec/rails/example/system_example_group_spec.rb || die
|
||||
|
||||
# Test with a compatible rails version
|
||||
#sed -i -e '1igem "rails", "<7.0"' spec/spec_helper.rb || die
|
||||
|
||||
|
||||
@@ -52,6 +52,9 @@ all_ruby_prepare() {
|
||||
# Avoid broken controller generator specs for now.
|
||||
rm -fr spec/generators/rspec || die
|
||||
|
||||
# Avoid test depending on a network.
|
||||
rm -f spec/rspec/rails/example/system_example_group_spec.rb || die
|
||||
|
||||
# Test with a compatible rails version
|
||||
#sed -i -e '1igem "rails", "<7.0"' spec/spec_helper.rb || die
|
||||
|
||||
|
||||
Reference in New Issue
Block a user