aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorMike Dalessio <mike@csa.net>2010-08-19 01:30:21 -0400
committerMike Dalessio <mike@csa.net>2010-08-19 01:38:09 -0400
commit91fe0cd99cc9c8aa9e73ebd51ae478f80076ecea (patch)
treeaa4d690249c0313a7d491a2f92d075388f1db952 /spec
parent6b056ef108526de90f9537e2a5f663a9a2b33409 (diff)
downloadrails-91fe0cd99cc9c8aa9e73ebd51ae478f80076ecea.tar.gz
rails-91fe0cd99cc9c8aa9e73ebd51ae478f80076ecea.tar.bz2
rails-91fe0cd99cc9c8aa9e73ebd51ae478f80076ecea.zip
cleaning up describe/it block names
Diffstat (limited to 'spec')
-rw-r--r--spec/arel/nodes/insert_statement_spec.rb4
-rw-r--r--spec/arel/nodes/select_statement_spec.rb2
-rw-r--r--spec/arel/nodes/update_statement_spec.rb4
3 files changed, 5 insertions, 5 deletions
diff --git a/spec/arel/nodes/insert_statement_spec.rb b/spec/arel/nodes/insert_statement_spec.rb
index d8b02b6703..644e3fb192 100644
--- a/spec/arel/nodes/insert_statement_spec.rb
+++ b/spec/arel/nodes/insert_statement_spec.rb
@@ -1,8 +1,8 @@
require 'spec_helper'
describe Arel::Nodes::InsertStatement do
- describe "clone" do
- it "clones cores" do
+ describe "#clone" do
+ it "clones columns and values" do
statement = Arel::Nodes::InsertStatement.new
statement.columns = %w[a b c]
statement.values = %w[x y z]
diff --git a/spec/arel/nodes/select_statement_spec.rb b/spec/arel/nodes/select_statement_spec.rb
index 04b850823c..a024710c78 100644
--- a/spec/arel/nodes/select_statement_spec.rb
+++ b/spec/arel/nodes/select_statement_spec.rb
@@ -1,7 +1,7 @@
require 'spec_helper'
describe Arel::Nodes::SelectStatement do
- describe "clone" do
+ describe "#clone" do
it "clones cores" do
statement = Arel::Nodes::SelectStatement.new %w[a b c]
diff --git a/spec/arel/nodes/update_statement_spec.rb b/spec/arel/nodes/update_statement_spec.rb
index 438eaf1dc2..8cbca1fd73 100644
--- a/spec/arel/nodes/update_statement_spec.rb
+++ b/spec/arel/nodes/update_statement_spec.rb
@@ -1,8 +1,8 @@
require 'spec_helper'
describe Arel::Nodes::UpdateStatement do
- describe "clone" do
- it "clones cores" do
+ describe "#clone" do
+ it "clones wheres and values" do
statement = Arel::Nodes::UpdateStatement.new
statement.wheres = %w[a b c]
statement.values = %w[x y z]