doc/src/tutorials/stack_03.page in rspec-0.5.7 vs doc/src/tutorials/stack_03.page in rspec-0.5.8
- old
+ new
@@ -16,11 +16,11 @@
context "A stack with one item" do
specify "should return top when you send it 'top'" do
end
end
</ruby>
-<br>
+
<pre>
$ spec stack_spec.rb -f s
A new stack
- should be empty
@@ -47,11 +47,11 @@
specify "should return top when you send it 'top'" do
end
end
</ruby>
-<br>
+
<pre>
$ spec stack_spec.rb -f s
A new stack
- should be empty
@@ -79,11 +79,11 @@
specify "should return top when you send it 'top'" do
@stack.top.should_equal "one item"
end
end
</ruby>
-<br>
+
<pre>
$ spec stack_spec.rb -f s
A new stack
- should be empty
@@ -111,11 +111,11 @@
...
def top
end
end
</ruby>
-<br>
+
<pre>
$ spec stack_spec.rb -f s
A new stack
- should be empty
@@ -144,11 +144,11 @@
def top
"one item"
end
end
</ruby>
-<br>
+
<pre>
$ spec stack_spec.rb -f s
A new stack
- should be empty
@@ -185,11 +185,11 @@
def top
@item
end
end
</ruby>
-<br>
+
<pre>
$ spec stack_spec.rb -f s
A new stack
- should be empty
@@ -222,11 +222,11 @@
def top
@item
end
end
</ruby>
-<br>
+
<pre>
$ spec stack_spec.rb -f s
A new stack
- should be empty
@@ -255,10 +255,10 @@
def top
@item
end
end
</ruby>
-<br>
+
<pre>
$ spec stack_spec.rb -f s
A new stack
- should be empty
\ No newline at end of file