coverage/index.html in trusty-cms-3.1.11 vs coverage/index.html in trusty-cms-3.2.0
- old
+ new
@@ -12,11 +12,11 @@
<body>
<div id="loading">
<img src="./assets/0.10.2/loading.gif" alt="loading"/>
</div>
<div id="wrapper" style="display:none;">
- <div class="timestamp">Generated <abbr class="timeago" title="2018-02-07T11:30:37-05:00">2018-02-07T11:30:37-05:00</abbr></div>
+ <div class="timestamp">Generated <abbr class="timeago" title="2018-03-30T11:37:29-04:00">2018-03-30T11:37:29-04:00</abbr></div>
<ul class="group_tabs"></ul>
<div id="content">
<div class="file_list_container" id="AllFiles">
<h2>
@@ -285,11 +285,11 @@
<td class="green strong">100.0 %</td>
<td>25</td>
<td>14</td>
<td>14</td>
<td>0</td>
- <td>21.7</td>
+ <td>21.9</td>
</tr>
<tr>
<td class="strong"><a href="#11328cfb263cce0e77b424d30c11127e715be20e" class="src_link" title="lib/trusty_cms/admin_ui/region_partials.rb">lib/trusty_cms/admin_ui/region_partials.rb</a></td>
<td class="yellow strong">83.33 %</td>
@@ -6412,12 +6412,12 @@
<code class="ruby"> # Default Order</code>
</li>
- <li class="covered" data-hits="26" data-linenumber="7">
- <span class="hits">26</span>
+ <li class="covered" data-hits="27" data-linenumber="7">
+ <span class="hits">27</span>
<code class="ruby"> default_scope {order("name")}</code>
</li>
<li class="never" data-hits="" data-linenumber="8">
@@ -6886,18 +6886,18 @@
<span class="hits">1</span>
<code class="ruby"> def encrypt_password_unless_empty_or_unchanged</code>
</li>
- <li class="covered" data-hits="1" data-linenumber="86">
- <span class="hits">1</span>
+ <li class="covered" data-hits="2" data-linenumber="86">
+ <span class="hits">2</span>
<code class="ruby"> user = self.class.find(self.id)</code>
</li>
- <li class="covered" data-hits="1" data-linenumber="87">
- <span class="hits">1</span>
+ <li class="covered" data-hits="2" data-linenumber="87">
+ <span class="hits">2</span>
<code class="ruby"> case password</code>
</li>
<li class="never" data-hits="" data-linenumber="88">
@@ -7037,12 +7037,12 @@
<span class="hits">1</span>
<code class="ruby"> def current_user</code>
</li>
- <li class="covered" data-hits="8" data-linenumber="12">
- <span class="hits">8</span>
+ <li class="covered" data-hits="9" data-linenumber="12">
+ <span class="hits">9</span>
<code class="ruby"> self.class.current_user</code>
</li>
<li class="never" data-hits="" data-linenumber="13">
@@ -7055,12 +7055,12 @@
<span class="hits">1</span>
<code class="ruby"> def self.current_user</code>
</li>
- <li class="covered" data-hits="8" data-linenumber="15">
- <span class="hits">8</span>
+ <li class="covered" data-hits="9" data-linenumber="15">
+ <span class="hits">9</span>
<code class="ruby"> Thread.current[:current_user]</code>
</li>
<li class="never" data-hits="" data-linenumber="16">
@@ -7103,12 +7103,12 @@
<span class="hits">1</span>
<code class="ruby"> def before_update(model)</code>
</li>
- <li class="covered" data-hits="1" data-linenumber="23">
- <span class="hits">1</span>
+ <li class="covered" data-hits="2" data-linenumber="23">
+ <span class="hits">2</span>
<code class="ruby"> model.updated_by = self.current_user</code>
</li>
<li class="never" data-hits="" data-linenumber="24">
@@ -8187,11 +8187,11 @@
<ol>
<li class="covered" data-hits="1" data-linenumber="1">
<span class="hits">1</span>
- <code class="ruby">FactoryGirl.define do</code>
+ <code class="ruby">FactoryBot.define do</code>
</li>
<li class="never" data-hits="" data-linenumber="2">
@@ -8308,11 +8308,11 @@
<ol>
<li class="covered" data-hits="1" data-linenumber="1">
<span class="hits">1</span>
- <code class="ruby">FactoryGirl.define do</code>
+ <code class="ruby">FactoryBot.define do</code>
</li>
<li class="covered" data-hits="1" data-linenumber="2">
<span class="hits">1</span>
@@ -8350,11 +8350,11 @@
</li>
<li class="covered" data-hits="1" data-linenumber="8">
<span class="hits">1</span>
- <code class="ruby"> page_parts { [FactoryGirl.create(:page_part, name: 'body')] }</code>
+ <code class="ruby"> page_parts { [FactoryBot.create(:page_part, name: 'body')] }</code>
</li>
<li class="never" data-hits="" data-linenumber="9">
@@ -8374,11 +8374,11 @@
</li>
<li class="covered" data-hits="1" data-linenumber="12">
<span class="hits">1</span>
- <code class="ruby"> children { [FactoryGirl.create(:page, :with_parts)] }</code>
+ <code class="ruby"> children { [FactoryBot.create(:page, :with_parts)] }</code>
</li>
<li class="never" data-hits="" data-linenumber="13">
@@ -8705,11 +8705,11 @@
<ol>
<li class="covered" data-hits="1" data-linenumber="1">
<span class="hits">1</span>
- <code class="ruby">FactoryGirl.define do</code>
+ <code class="ruby">FactoryBot.define do</code>
</li>
<li class="never" data-hits="" data-linenumber="2">
@@ -8772,11 +8772,11 @@
<ol>
<li class="covered" data-hits="1" data-linenumber="1">
<span class="hits">1</span>
- <code class="ruby">FactoryGirl.define do</code>
+ <code class="ruby">FactoryBot.define do</code>
</li>
<li class="covered" data-hits="1" data-linenumber="2">
<span class="hits">1</span>
@@ -10481,11 +10481,11 @@
</li>
<li class="covered" data-hits="1" data-linenumber="5">
<span class="hits">1</span>
- <code class="ruby"> let(:layout){ FactoryGirl.build(:layout) }</code>
+ <code class="ruby"> let(:layout){ FactoryBot.build(:layout) }</code>
</li>
<li class="never" data-hits="" data-linenumber="6">
@@ -10505,11 +10505,11 @@
</li>
<li class="covered" data-hits="1" data-linenumber="9">
<span class="hits">1</span>
- <code class="ruby"> layout = FactoryGirl.build(:layout, name: '')</code>
+ <code class="ruby"> layout = FactoryBot.build(:layout, name: '')</code>
</li>
<li class="covered" data-hits="1" data-linenumber="10">
<span class="hits">1</span>
@@ -10541,11 +10541,11 @@
</li>
<li class="covered" data-hits="1" data-linenumber="15">
<span class="hits">1</span>
- <code class="ruby"> layout = FactoryGirl.build(:layout, name: 'Normal', content: "Content!")</code>
+ <code class="ruby"> layout = FactoryBot.build(:layout, name: 'Normal', content: "Content!")</code>
</li>
<li class="covered" data-hits="1" data-linenumber="16">
<span class="hits">1</span>
@@ -10553,11 +10553,11 @@
</li>
<li class="covered" data-hits="1" data-linenumber="17">
<span class="hits">1</span>
- <code class="ruby"> other = FactoryGirl.build(:layout, name: 'Normal', content: "Content!")</code>
+ <code class="ruby"> other = FactoryBot.build(:layout, name: 'Normal', content: "Content!")</code>
</li>
<li class="covered" data-hits="2" data-linenumber="18">
<span class="hits">2</span>
@@ -10583,11 +10583,11 @@
</li>
<li class="covered" data-hits="1" data-linenumber="22">
<span class="hits">1</span>
- <code class="ruby"> layout = FactoryGirl.build(:layout, name: 'x' * 100)</code>
+ <code class="ruby"> layout = FactoryBot.build(:layout, name: 'x' * 100)</code>
</li>
<li class="covered" data-hits="1" data-linenumber="23">
<span class="hits">1</span>
@@ -10595,10 +10595,10 @@
</li>
<li class="covered" data-hits="1" data-linenumber="24">
<span class="hits">1</span>
- <code class="ruby"> layout = FactoryGirl.build(:layout, name: 'x' * 101)</code>
+ <code class="ruby"> layout = FactoryBot.build(:layout, name: 'x' * 101)</code>
</li>
<li class="covered" data-hits="2" data-linenumber="25">
<span class="hits">2</span>