Skip to content

Commit

Permalink
removed hardcoded rspec path
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Oct 20, 2014
1 parent 520f633 commit 1f01c03
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion library/general/test/linuxrc_test.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/rspec
#!/usr/bin/env rspec

require File.expand_path("../test_helper.rb", __FILE__)

Expand Down
2 changes: 1 addition & 1 deletion library/network/test/load_ipv6_cfg_test.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/rspec
#!/usr/bin/env rspec

top_srcdir = File.expand_path("../../../..", __FILE__)
inc_dirs = Dir.glob("#{top_srcdir}/library/*/src")
Expand Down
2 changes: 1 addition & 1 deletion library/network/test/network_interfaces_helpers_test.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/rspec
#!/usr/bin/env rspec

top_srcdir = File.expand_path("../../../..", __FILE__)
inc_dirs = Dir.glob("#{top_srcdir}/library/*/src")
Expand Down
2 changes: 1 addition & 1 deletion library/network/test/susefirewall_services_test.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/rspec
#!/usr/bin/env rspec

top_srcdir = File.expand_path("../../../..", __FILE__)
inc_dirs = Dir.glob("#{top_srcdir}/library/*/src")
Expand Down
2 changes: 1 addition & 1 deletion library/network/test/susefirewall_test.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/rspec
#!/usr/bin/env rspec

top_srcdir = File.expand_path("../../../..", __FILE__)
inc_dirs = Dir.glob("#{top_srcdir}/library/*/src")
Expand Down
2 changes: 1 addition & 1 deletion library/packages/test/product_test.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/rspec
#!/usr/bin/env rspec

top_srcdir = File.expand_path("../../../..", __FILE__)
inc_dirs = Dir.glob("#{top_srcdir}/library/*/src")
Expand Down
2 changes: 1 addition & 1 deletion library/packages/test/signature_check_callbacks_test.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/rspec
#!/usr/bin/env rspec

top_srcdir = File.expand_path("../../../..", __FILE__)
inc_dirs = Dir.glob("#{top_srcdir}/library/*/src")
Expand Down
2 changes: 1 addition & 1 deletion library/packages/test/slide_show_test.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/rspec
#!/usr/bin/env rspec

top_srcdir = File.expand_path("../../../..", __FILE__)
inc_dirs = Dir.glob("#{top_srcdir}/library/*/src")
Expand Down
2 changes: 1 addition & 1 deletion library/system/test/hw_detection_test.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/rspec
#!/usr/bin/env rspec

require "yast"

Expand Down
2 changes: 1 addition & 1 deletion library/system/test/kernel_test.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/rspec
#!/usr/bin/env rspec

top_srcdir = File.expand_path("../../../..", __FILE__)
inc_dirs = Dir.glob("#{top_srcdir}/library/*/src")
Expand Down
2 changes: 1 addition & 1 deletion library/system/test/proc_cmdline_test.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/rspec
#!/usr/bin/env rspec

top_srcdir = File.expand_path("../../../..", __FILE__)
inc_dirs = Dir.glob("#{top_srcdir}/library/*/src")
Expand Down
2 changes: 1 addition & 1 deletion library/types/test/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
TESTS = \
ip_test.rb \
ip_test.rb
ipv4_netmask_test.rb
TEST_EXTENSIONS = .rb
RB_LOG_COMPILER = rspec
Expand Down
2 changes: 1 addition & 1 deletion library/types/test/ip_test.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/rspec --format=doc
#!/usr/bin/env rspec --format=doc

ENV["Y2DIR"] = File.expand_path("../../src", __FILE__)

Expand Down
2 changes: 1 addition & 1 deletion library/types/test/ipv4_netmask_test.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/rspec --format=doc
#!/usr/bin/env rspec --format=doc

ENV["Y2DIR"] = File.expand_path("../../src", __FILE__)

Expand Down

0 comments on commit 1f01c03

Please sign in to comment.