Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 13 lines (9 sloc) 0.213 kb
0cc9dcf Include missing assignment specs.
Jose and Yehuda authored
1 require "spec_helper"
2
3 describe "Assignment" do
4 it "can handle simple assignment" do
5 e("x = 3; x").should == 3
6 end
f9c7ae4 Chained assignment also works.
Jose and Yehuda authored
7
8 it "can handle chained assignment" do
9 e("x = y = 3; x + y").should == 6
10 end
0cc9dcf Include missing assignment specs.
Jose and Yehuda authored
11 end
12
Something went wrong with that request. Please try again.