diff options
| author | User <hukl@cccms.ccc.de> | 2011-02-10 14:23:36 +0100 |
|---|---|---|
| committer | User <hukl@cccms.ccc.de> | 2011-02-10 14:23:36 +0100 |
| commit | 384b187e9e067ddf2bb4d5fad0c2deaf96f69c89 (patch) | |
| tree | cf743f377d3e2e28a31ae0359d95f37beba82cc3 /vendor/plugins/thinking-sphinx/features/step_definitions/gamma_steps.rb | |
| parent | 3d0de09cf94cee6233b36a7f5ce20d5059854acc (diff) | |
| parent | cec2b1e2881db0000b2a09029154bea0fc62ade3 (diff) | |
Merge branch 'master' of ssh://svn.medienhaus.udk-berlin.de/usr/local/git/cccms
Diffstat (limited to 'vendor/plugins/thinking-sphinx/features/step_definitions/gamma_steps.rb')
| -rw-r--r-- | vendor/plugins/thinking-sphinx/features/step_definitions/gamma_steps.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/vendor/plugins/thinking-sphinx/features/step_definitions/gamma_steps.rb b/vendor/plugins/thinking-sphinx/features/step_definitions/gamma_steps.rb deleted file mode 100644 index c4fbe20..0000000 --- a/vendor/plugins/thinking-sphinx/features/step_definitions/gamma_steps.rb +++ /dev/null | |||
| @@ -1,15 +0,0 @@ | |||
| 1 | When /^I destroy gamma (\w+) without callbacks$/ do |name| | ||
| 2 | @results = nil | ||
| 3 | gamma = Gamma.find_by_name(name) | ||
| 4 | Gamma.delete(gamma.id) if gamma | ||
| 5 | end | ||
| 6 | |||
| 7 | Then "I should get a single result of nil" do | ||
| 8 | results.should == [nil] | ||
| 9 | end | ||
| 10 | |||
| 11 | Then /^I should get a single gamma result with a name of (\w+)$/ do |name| | ||
| 12 | results.length.should == 1 | ||
| 13 | results.first.should be_kind_of(Gamma) | ||
| 14 | results.first.name.should == name | ||
| 15 | end | ||
