 			And   -> @b = 'b' == @a #is okay to return false
 			Then  -> @b == false
 
+		context 'following a When', ->
+			Given -> @a = -> 'a'
+			When  -> @b = @a()
+			And   -> @b = 'b' == 'a' #is okay to return false
+			Then  -> @b == false
+
 		context 'following a Then', ->
 			Given -> @meat = 'pork'
 			When  -> @meat += 'muffin'

expect = require 'expect.js'

describe 'mocha-given', ->

	describe 'assigning stuff to this', ->
		Given -> @number = 24

		context 'add a variable to `this`', ->
			Given 'pizza', -> 5
			Then -> @pizza == 5

	describe 'giving When a variable', ->

		context 'add a variable to `this`', ->
			Given 'source', -> 5
			When  'result', -> @source * 2
			Then -> @result == 10

	describe 'variable scoping', ->

