|
eab8c1f0
»
|
hassox |
2008-02-12 |
Includes the get, post, put... |
1 |
class SpecHelperController < Merb::Controller |
| |
2 |
|
| |
3 |
def index |
| |
4 |
Merb::Test::ControllerAssertionMock.called(:index) |
| |
5 |
end |
| |
6 |
|
| |
7 |
def show |
| |
8 |
Merb::Test::ControllerAssertionMock.called(:show) |
| |
9 |
end |
| |
10 |
|
| |
11 |
def edit |
| |
12 |
Merb::Test::ControllerAssertionMock.called(:edit) |
| |
13 |
end |
| |
14 |
|
| |
15 |
def new |
| |
16 |
Merb::Test::ControllerAssertionMock.called(:new) |
| |
17 |
end |
| |
18 |
|
| |
19 |
def create |
| |
20 |
Merb::Test::ControllerAssertionMock.called(:create) |
| |
21 |
end |
| |
22 |
|
| |
23 |
def update |
| |
24 |
Merb::Test::ControllerAssertionMock.called(:update) |
| |
25 |
end |
| |
26 |
|
| |
27 |
def destroy |
| |
28 |
Merb::Test::ControllerAssertionMock.called(:destroy) |
| |
29 |
end |
| |
30 |
end |