diff --git a/spec/moped/session_spec.rb b/spec/moped/session_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/moped/session_spec.rb
+++ b/spec/moped/session_spec.rb
@@ -38,7 +38,7 @@ describe Moped::Session do
       end
 
       it "does not modify the original session" do
-        other = session.with(database: "other")
+        session.with(database: "other")
         session.options[:database].should eq "moped_test"
       end
     end
Remove warning: assigned but unused variable.