Skip to content
Snippets Groups Projects
Commit 95c8c4d4 authored by Bob Van Landuyt's avatar Bob Van Landuyt
Browse files

Add rspec-parameterized for table based tests

This allows for being more concise in specs that test a state when
changing multiple variables.
parent 1dd9fc16
No related branches found
No related tags found
No related merge requests found
......@@ -49,4 +49,5 @@
gem 'fantaskspec'
gem 'rspec_junit_formatter'
gem 'pry'
gem 'rspec-parameterized', require: false
end
......@@ -19,6 +19,10 @@
GEM
remote: https://rubygems.org/
specs:
abstract_type (0.0.7)
adamantium (0.2.0)
ice_nine (~> 0.11.0)
memoizable (~> 0.4.0)
addressable (2.6.0)
public_suffix (>= 2.0.2, < 4.0)
ast (2.4.0)
......@@ -729,6 +733,7 @@
aws-sigv2 (1.0.1)
aws-sigv4 (1.1.0)
aws-eventstream (~> 1.0, >= 1.0.2)
binding_ninja (0.2.3)
builder (3.2.3)
byebug (9.0.5)
chef (14.14.29)
......@@ -781,6 +786,9 @@
citrus (3.0.2)
cleanroom (1.0.0)
coderay (1.1.2)
concord (0.1.5)
adamantium (~> 0.2.0)
equalizer (~> 0.0.9)
declarative (0.0.10)
declarative-option (0.1.0)
diff-lcs (1.3)
......@@ -789,6 +797,7 @@
json
domain_name (0.5.20170404)
unf (>= 0.0.5, < 1.0.0)
equalizer (0.0.11)
erubis (2.7.0)
excon (0.54.0)
fantaskspec (0.9.10)
......@@ -841,6 +850,7 @@
http_parser.rb (0.6.0)
httpclient (2.8.3)
hurley (0.2)
ice_nine (0.11.2)
iniparse (1.4.4)
iostruct (0.0.4)
ipaddress (0.8.3)
......@@ -861,6 +871,8 @@
little-plugger (~> 1.1)
multi_json (~> 1.10)
memoist (0.16.0)
memoizable (0.4.2)
thread_safe (~> 0.3, >= 0.3.1)
method_source (0.9.2)
mime-types (3.1)
mime-types-data (~> 3.2015)
......@@ -921,6 +933,11 @@
progressbar
zhexdump (>= 0.0.2)
plist (3.5.0)
proc_to_ast (0.1.0)
coderay
parser
unparser
procto (0.0.3)
progressbar (1.10.1)
proxifier (1.0.3)
pry (0.12.2)
......@@ -955,6 +972,12 @@
rspec-mocks (3.8.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.8.0)
rspec-parameterized (0.4.2)
binding_ninja (>= 0.2.3)
parser
proc_to_ast
rspec (>= 2.13, < 4)
unparser
rspec-support (3.8.2)
rspec_junit_formatter (0.2.3)
builder (< 4)
......@@ -992,6 +1015,7 @@
syslog-logger (1.6.8)
systemu (2.6.5)
thor (0.18.1)
thread_safe (0.3.6)
toml-rb (1.1.2)
citrus (~> 3.0, > 3.0)
tomlrb (1.2.8)
......@@ -1000,6 +1024,14 @@
unf_ext
unf_ext (0.0.7.5)
unicode-display_width (1.6.0)
unparser (0.4.5)
abstract_type (~> 0.0.7)
adamantium (~> 0.2.0)
concord (~> 0.1.5)
diff-lcs (~> 1.3)
equalizer (~> 0.0.9)
parser (~> 2.6.3)
procto (~> 0.0.2)
uuidtools (2.1.5)
wmi-lite (1.0.2)
zhexdump (0.0.2)
......@@ -1027,6 +1059,7 @@
rainbow (~> 2.2)
rake
rspec
rspec-parameterized
rspec_junit_formatter
rubocop (~> 0.69.0)
rubocop-performance (~> 1.1.0)
......@@ -1034,4 +1067,4 @@
thor (= 0.18.1)
BUNDLED WITH
1.17.2
1.17.3
......@@ -4,6 +4,7 @@
require 'fantaskspec'
require 'knapsack'
require 'gitlab/util'
require 'rspec-parameterized'
# Load support libraries to provide common convenience methods for our tests
Dir[File.join(__dir__, 'support/*.rb')].each { |f| require f }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment