summaryrefslogtreecommitdiffstats
path: root/ruby/rubygem-rspec/README
diff options
context:
space:
mode:
author Dimitris Zlatanidis2017-11-26 21:15:08 +0100
committer Willy Sudiarto Raharjo2017-12-02 00:31:00 +0100
commitb0578bdec712d84b30fc75ff1454a372ecb0b7f7 (patch)
treeb306dbc5936d9152178ed10a5a15fc74bd03ecf6 /ruby/rubygem-rspec/README
parent8ab124559a692cf8607d8fe53c8638445aa8a7ca (diff)
downloadslackbuilds-b0578bdec712d84b30fc75ff1454a372ecb0b7f7.tar.gz
ruby/rubygem-rspec: Added (BDD for Ruby).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'ruby/rubygem-rspec/README')
-rw-r--r--ruby/rubygem-rspec/README10
1 files changed, 10 insertions, 0 deletions
diff --git a/ruby/rubygem-rspec/README b/ruby/rubygem-rspec/README
new file mode 100644
index 0000000000..340fcd34c2
--- /dev/null
+++ b/ruby/rubygem-rspec/README
@@ -0,0 +1,10 @@
+rspec is a meta-gem, which depends on the rspec-core, rspec-expectations and
+rspec-mocks gems. Each of these can be installed separately and loaded in
+isolation using require. Among other benefits, this allows you to use
+rspec-expectations, for example, in Test::Unit::TestCase if you happen to
+prefer that style.
+
+Conversely, if you like RSpec's approach to declaring example groups and
+examples (describe and it) but prefer Test::Unit assertions and mocha, rr or
+flexmock for mocking, you'll be able to do that without having to install or
+load the components of RSpec that you're not using.